Move -h to the end of the emp_server -h output
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 16 Jan 2010 08:31:08 +0000 (09:31 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 19 Jan 2010 07:40:42 +0000 (08:40 +0100)
This is consistent with the other programs.

src/server/main.c

index bfc63179bd40ce7b358c02ef894a9d082a8b8b26..a53a4c087e1dc2defd48ee1fedc00d08b0fc9b7c 100644 (file)
@@ -105,7 +105,6 @@ print_usage(char *program_name)
           "  -e CONFIG-FILE  configuration file\n"
           "                  (default %s)\n"
           "  -E ACTION       what to do on oops: abort, crash-dump, nothing (default)\n"
-          "  -h              display this help and exit\n"
 #ifdef _WIN32
           "  -i              install service `%s'\n"
           "  -I NAME         install service NAME\n"
@@ -117,6 +116,7 @@ print_usage(char *program_name)
 #endif
           "  -s              enable stack checking\n"
           "  -R RANDOM-SEED  random seed\n"
+          "  -h              display this help and exit\n"
           "  -v              display version information and exit\n",
           program_name, dflt_econfig
 #ifdef _WIN32
@@ -200,6 +200,8 @@ main(int argc, char **argv)
        }
     }
 
+    /* silently ignore operands for backward compatibility */
+
 #if defined(_WIN32)
     if ((!daemonize || flags || config_file != NULL) &&
        remove_service_set) {