]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix usage message on the Windows platform.
authorRainer Jung <rjung@apache.org>
Wed, 6 May 2009 16:53:55 +0000 (16:53 +0000)
committerRainer Jung <rjung@apache.org>
Wed, 6 May 2009 16:53:55 +0000 (16:53 +0000)
- do not include graceful commands and duplicate
  start|restart|stop
- add ServerRoot to the parameters encapsulated by "-n"

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@772356 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
server/main.c

diff --git a/CHANGES b/CHANGES
index f9e0fa4aa81dfa582d95970a2ba5ebb387073cdb..c889624c18874c21d9752f966b8acf5eca9b1f2e 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,9 @@ Changes with Apache 2.3.3
      mod_proxy_ajp: Avoid delivering content from a previous request which
      failed to send a request body. PR 46949 [Ruediger Pluem]
 
+  *) Windows: Fix usage message.
+     [Rainer Jung]
+
   *) apachectl: When passing through arguments to httpd in
      non-SysV mode, use the "$@" syntax to preserve arguments.
      [Eric Covener]
index d44ee4e796b61b88d00da6d3c70a5a0830f889ca..a3cfe7ed5ba7064b6985ef2e493cd840be8fbb2a 100644 (file)
@@ -361,17 +361,18 @@ static void usage(process_rec *process)
 
 #ifdef WIN32
     ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
-                 "       %s [-w] [-k start|restart|stop|shutdown]", pad);
+                 "       %s [-w] [-k start|restart|stop|shutdown] [-n service_name]", pad);
     ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
                  "       %s [-k install|config|uninstall] [-n service_name]",
                  pad);
-#endif
+#else
 /* XXX not all MPMs support signalling the server in general or graceful-stop
  * in particular
  */
     ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
                  "       %s [-k start|restart|graceful|graceful-stop|stop]",
                  pad);
+#endif
     ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
                  "       %s [-v] [-V] [-h] [-l] [-L] [-t] [-S]", pad);
     ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
@@ -405,7 +406,7 @@ static void usage(process_rec *process)
 #ifdef WIN32
     ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
                  "  -n name            : set service name and use its "
-                 "ServerConfigFile");
+                 "ServerConfigFile and ServerRoot");
     ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
                  "  -k start           : tell Apache to start");
     ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,