diff options
author | Mark Spruiell <mes@zeroc.com> | 2008-03-04 15:05:00 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2008-03-04 15:05:00 -0800 |
commit | ca60e03bef63c9b6daf180e8b9fbcaffa2f8827d (patch) | |
tree | ee6ae2160e1e48aef939c36f1ce9b9e2745ef23d /cpp/src/IceBox/Service.cpp | |
parent | bug 2550 - specify third-party versions in Java INSTALL file (diff) | |
download | ice-ca60e03bef63c9b6daf180e8b9fbcaffa2f8827d.tar.bz2 ice-ca60e03bef63c9b6daf180e8b9fbcaffa2f8827d.tar.xz ice-ca60e03bef63c9b6daf180e8b9fbcaffa2f8827d.zip |
bug 2524 - deprecate Service command-line options; misc perm fixes
Diffstat (limited to 'cpp/src/IceBox/Service.cpp')
-rw-r--r-- | cpp/src/IceBox/Service.cpp | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/cpp/src/IceBox/Service.cpp b/cpp/src/IceBox/Service.cpp index 83f2bda2bfe..f48242c82e2 100644 --- a/cpp/src/IceBox/Service.cpp +++ b/cpp/src/IceBox/Service.cpp @@ -121,30 +121,7 @@ IceBox::IceBoxService::usage(const string& appName) "Options:\n" "-h, --help Show this message.\n" "-v, --version Display the Ice version."; -#ifdef _WIN32 - if(checkSystem()) - { - options.append( - "\n" - "\n" - "--service NAME Run as the Windows service NAME.\n" - "\n" - "--install NAME [--display DISP] [--executable EXEC] [args]\n" - " Install as Windows service NAME. If DISP is\n" - " provided, use it as the display name,\n" - " otherwise NAME is used. If EXEC is provided,\n" - " use it as the service executable, otherwise\n" - " this executable is used. Any additional\n" - " arguments are passed unchanged to the\n" - " service at startup.\n" - "--uninstall NAME Uninstall Windows service NAME.\n" - "--start NAME [args] Start Windows service NAME. Any additional\n" - " arguments are passed unchanged to the\n" - " service.\n" - "--stop NAME Stop Windows service NAME." - ); - } -#else +#ifndef _WIN32 options.append( "\n" "\n" |