mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
pg_ctl: Improve --help output
All other --help output has = signs between long options and their arguments, so do it here as well.
This commit is contained in:
parent
7d88bb73f7
commit
2a7f636640
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user