diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2012-05-14 03:54:17 +0300 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2012-05-14 04:50:39 +0300 |
commit | 2a7f6366409d54e9a61e2b7ba0277b7cdf15dbdc (patch) | |
tree | 7e00f765ff612d4e65b755d05ced3c67a28f9ec2 | |
parent | 7d88bb73f755f7fb5d847ef2319c21076054fb0e (diff) | |
download | postgresql-2a7f6366409d54e9a61e2b7ba0277b7cdf15dbdc.tar.gz postgresql-2a7f6366409d54e9a61e2b7ba0277b7cdf15dbdc.zip |
pg_ctl: Improve --help output
All other --help output has = signs between long options and their
arguments, so do it here as well.
-rw-r--r-- | src/bin/pg_ctl/pg_ctl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c index 0ce496fa163..26dd30cbb5d 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")); |