Skip to content

Commit 4efbb7d

Browse files
committed
Add missing descriptions about '--timeout' and '--mode' to help
message. They are already implemented in the source code. Suggestions about the message formatting from Tom Lane.
1 parent ea6a2d8 commit 4efbb7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pg_ctl/pg_ctl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,7 +1764,7 @@ do_help(void)
17641764
printf(_("\nCommon options:\n"));
17651765
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 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"));
@@ -1783,7 +1783,7 @@ do_help(void)
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 SHUTDOWN-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