Skip to content

Commit 2a7f636

Browse files
committed
pg_ctl: Improve --help output
All other --help output has = signs between long options and their arguments, so do it here as well.
1 parent 7d88bb7 commit 2a7f636

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bin/pg_ctl/pg_ctl.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1762,9 +1762,9 @@ do_help(void)
17621762
#endif
17631763

17641764
printf(_("\nCommon options:\n"));
1765-
printf(_(" -D, --pgdata DATADIR location of the database storage area\n"));
1765+
printf(_(" -D, --pgdata=DATADIR location of the database storage area\n"));
17661766
printf(_(" -s, --silent only print errors, no informational messages\n"));
1767-
printf(_(" -t, --timeout SECS seconds to wait when using -w option\n"));
1767+
printf(_(" -t, --timeout=SECS seconds to wait when using -w option\n"));
17681768
printf(_(" -w wait until operation completes\n"));
17691769
printf(_(" -W do not wait until operation completes\n"));
17701770
printf(_(" --help show this help, then exit\n"));
@@ -1778,12 +1778,12 @@ do_help(void)
17781778
#else
17791779
printf(_(" -c, --core-files not applicable on this platform\n"));
17801780
#endif
1781-
printf(_(" -l, --log FILENAME write (or append) server log to FILENAME\n"));
1781+
printf(_(" -l, --log=FILENAME write (or append) server log to FILENAME\n"));
17821782
printf(_(" -o OPTIONS command line options to pass to postgres\n"
17831783
" (PostgreSQL server executable) or initdb\n"));
17841784
printf(_(" -p PATH-TO-POSTGRES normally not necessary\n"));
17851785
printf(_("\nOptions for stop or restart:\n"));
1786-
printf(_(" -m, --mode MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"));
1786+
printf(_(" -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"));
17871787

17881788
printf(_("\nShutdown modes are:\n"));
17891789
printf(_(" smart quit after all clients have disconnected\n"));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy