]> granicus.if.org Git - apache/commitdiff
add -X to usage message
authorStefan Fritsch <sf@apache.org>
Mon, 21 Jun 2010 20:34:44 +0000 (20:34 +0000)
committerStefan Fritsch <sf@apache.org>
Mon, 21 Jun 2010 20:34:44 +0000 (20:34 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@956684 13f79535-47bb-0310-9956-ffa450edef68

server/main.c

index 65fac67f2dce2a57f34371a5ce37a004245638ff..84a8fe6bc04f06310ea14cf67c899b398ab3ee51 100644 (file)
@@ -361,7 +361,7 @@ static void usage(process_rec *process)
                  pad);
 #endif
     ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
-                 "       %s [-v] [-V] [-h] [-l] [-L] [-t] [-T] [-S]", pad);
+                 "       %s [-v] [-V] [-h] [-l] [-L] [-t] [-T] [-S] [-X]", pad);
     ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
                  "Options:");
 
@@ -435,7 +435,9 @@ static void usage(process_rec *process)
     ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
                  "  -t                 : run syntax check for config files");
     ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
-                "  -T                 : start without DocumentRoot(s) check");
+                 "  -T                 : start without DocumentRoot(s) check");
+    ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, NULL,
+                 "  -X                 : debug mode (only one worker, do not detach)");
 
     destroy_and_exit_process(process, 1);
 }