Skip to content

Commit 4f292b5

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 a91fcd9 commit 4f292b5

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

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

0 commit comments

Comments
 (0)