From: Peter Eisentraut Date: Mon, 14 May 2012 00:54:17 +0000 (+0300) Subject: pg_ctl: Improve --help output X-Git-Tag: REL9_2_BETA2~88 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2a7f6366409d54e9a61e2b7ba0277b7cdf15dbdc;p=postgresql pg_ctl: Improve --help output All other --help output has = signs between long options and their arguments, so do it here as well. --- diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c index 0ce496fa16..26dd30cbb5 100644 --- a/src/bin/pg_ctl/pg_ctl.c +++ b/src/bin/pg_ctl/pg_ctl.c @@ -1762,9 +1762,9 @@ do_help(void) #endif printf(_("\nCommon options:\n")); - printf(_(" -D, --pgdata DATADIR location of the database storage area\n")); + printf(_(" -D, --pgdata=DATADIR location of the database storage area\n")); printf(_(" -s, --silent only print errors, no informational messages\n")); - printf(_(" -t, --timeout SECS seconds to wait when using -w option\n")); + printf(_(" -t, --timeout=SECS seconds to wait when using -w option\n")); printf(_(" -w wait until operation completes\n")); printf(_(" -W do not wait until operation completes\n")); printf(_(" --help show this help, then exit\n")); @@ -1778,12 +1778,12 @@ do_help(void) #else printf(_(" -c, --core-files not applicable on this platform\n")); #endif - printf(_(" -l, --log FILENAME write (or append) server log to FILENAME\n")); + printf(_(" -l, --log=FILENAME write (or append) server log to FILENAME\n")); printf(_(" -o OPTIONS command line options to pass to postgres\n" " (PostgreSQL server executable) or initdb\n")); printf(_(" -p PATH-TO-POSTGRES normally not necessary\n")); printf(_("\nOptions for stop or restart:\n")); - printf(_(" -m, --mode MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n")); + printf(_(" -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n")); printf(_("\nShutdown modes are:\n")); printf(_(" smart quit after all clients have disconnected\n"));