postgres.git / summary / log / commit / refs
commit 2a7f6366409d54e9a61e2b7ba0277b7cdf15dbdc
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Mon May 14 00:54:17 2012 +0000
First released in: 9.2.0
pg_ctl: Improve --help output
All other --help output has = signs between long options and their
arguments, so do it here as well.
src/bin/pg_ctl/pg_ctl.c | 8 ++++----
1 file 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"));
[parent: 7d88bb73f755]