Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f3ab265

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 7c77ba8 commit f3ab265

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
@@ -1896,7 +1896,7 @@ do_help(void)
18961896
printf(_(" -o OPTIONS command line options to pass to postgres\n"
18971897
" (PostgreSQL server executable) or initdb\n"));
18981898
printf(_(" -p PATH-TO-POSTGRES normally not necessary\n"));
1899-
printf(_("\nOptions for stop, restart, or promote:\n"));
1899+
printf(_("\nOptions for stop or restart:\n"));
19001900
printf(_(" -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"));
19011901

19021902
printf(_("\nShutdown modes are:\n"));

0 commit comments

Comments
 (0)