Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1-1
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)