diff options
| author | Fujii Masao | 2014-08-14 04:57:52 +0000 |
|---|---|---|
| committer | Fujii Masao | 2014-08-14 04:58:41 +0000 |
| commit | f3ab265052429793acf7a838a565b6d63b093914 (patch) | |
| tree | 736319596bf5278f634c413d6d40287efb882334 | |
| parent | 7c77ba8577d52b142997303f14c1e01abdb2d104 (diff) | |
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.c | 2 |
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 9a6ade935f8..91e99e4c209 100644 --- a/src/bin/pg_ctl/pg_ctl.c +++ b/src/bin/pg_ctl/pg_ctl.c @@ -1896,7 +1896,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")); |
