Move -h to the end of the emp_server -h output

This is consistent with the other programs.
This commit is contained in:
Markus Armbruster 2010-01-16 09:31:08 +01:00
parent 390841a40a
commit 8ededa44f9

View file

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