summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2/Server.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2008-03-04 15:05:00 -0800
committerMark Spruiell <mes@zeroc.com>2008-03-04 15:05:00 -0800
commitca60e03bef63c9b6daf180e8b9fbcaffa2f8827d (patch)
treeee6ae2160e1e48aef939c36f1ce9b9e2745ef23d /cpp/src/IcePatch2/Server.cpp
parentbug 2550 - specify third-party versions in Java INSTALL file (diff)
downloadice-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/IcePatch2/Server.cpp')
-rw-r--r--cpp/src/IcePatch2/Server.cpp25
1 files changed, 1 insertions, 24 deletions
diff --git a/cpp/src/IcePatch2/Server.cpp b/cpp/src/IcePatch2/Server.cpp
index b316e049eee..b5a7a5f828d 100644
--- a/cpp/src/IcePatch2/Server.cpp
+++ b/cpp/src/IcePatch2/Server.cpp
@@ -195,30 +195,7 @@ IcePatch2::PatcherService::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"