aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2014-08-14 13:57:52 +0900
committerFujii Masao <fujii@postgresql.org>2014-08-14 13:58:59 +0900
commit4f292b5d52e51bf9ce7aeaa5293df5e8041194b8 (patch)
tree28f31ede48b27ff6c48c4f429286bfa0a6dbd684
parenta91fcd93ca038e60034efdf681c9323e4bce4385 (diff)
downloadpostgresql-4f292b5d52e51bf9ce7aeaa5293df5e8041194b8.tar.gz
postgresql-4f292b5d52e51bf9ce7aeaa5293df5e8041194b8.zip
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.
-rw-r--r--src/bin/pg_ctl/pg_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c
index 367910390fd..172acfcfa09 100644
--- a/src/bin/pg_ctl/pg_ctl.c
+++ b/src/bin/pg_ctl/pg_ctl.c
@@ -1819,7 +1819,7 @@ do_help(void)
printf(_(" -o OPTIONS command line options to pass to postgres\n"
" (PostgreSQL server executable) or initdb\n"));
printf(_(" -p PATH-TO-POSTGRES normally not necessary\n"));
- printf(_("\nOptions for stop, restart, or promote:\n"));
+ printf(_("\nOptions for stop or restart:\n"));
printf(_(" -m, --mode=MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n"));
printf(_("\nShutdown modes are:\n"));