Skip to content

Commit a4287a6

Browse files
committed
Fix help message in pg_ctl.
Previously the help message described that -m is an option for "stop", "restart" and "promote" commands in pg_ctl. But actually that's not an option for "promote". So this commit fixes that incorrect description in the help message. Back-patch to 9.3 where the incorrect description was added.
1 parent 5333c72 commit a4287a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_ctl/pg_ctl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1905,7 +1905,7 @@ do_help(void)
19051905
printf(_(" -o OPTIONS command line options to pass to postgres\n"
19061906
" (PostgreSQL server executable) or initdb\n"));
19071907
printf(_(" -p PATH-TO-POSTGRES normally not necessary\n"));
1908-
printf(_("\nOptions for stop, restart, or promote:\n"));
1908+
printf(_("\nOptions for stop or restart:\n"));
19091909
printf(_(" -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"));
19101910

19111911
printf(_("\nShutdown modes are:\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