diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2012-04-15 09:12:51 +0900 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2012-04-15 09:17:12 +0900 |
commit | 4efbb7d04f3481da1aaf75630c1203203f400b66 (patch) | |
tree | 3d5bf08c7320ddfef02fce1c95af89b4513c2711 /src | |
parent | ea6a2d8d47b9368f50fb7f4cca206895e6127a0a (diff) | |
download | postgresql-4efbb7d04f3481da1aaf75630c1203203f400b66.tar.gz postgresql-4efbb7d04f3481da1aaf75630c1203203f400b66.zip |
Add missing descriptions about '--timeout' and '--mode' to help
message. They are already implemented in the source code.
Suggestions about the message formatting from Tom Lane.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/pg_ctl/pg_ctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c index 8ac4fe8234d..0ce496fa163 100644 --- a/src/bin/pg_ctl/pg_ctl.c +++ b/src/bin/pg_ctl/pg_ctl.c @@ -1764,7 +1764,7 @@ do_help(void) printf(_("\nCommon options:\n")); printf(_(" -D, --pgdata DATADIR location of the database storage area\n")); printf(_(" -s, --silent only print errors, no informational messages\n")); - printf(_(" -t SECS seconds to wait when using -w option\n")); + printf(_(" -t, --timeout SECS seconds to wait when using -w option\n")); printf(_(" -w wait until operation completes\n")); printf(_(" -W do not wait until operation completes\n")); printf(_(" --help show this help, then exit\n")); @@ -1783,7 +1783,7 @@ do_help(void) " (PostgreSQL server executable) or initdb\n")); printf(_(" -p PATH-TO-POSTGRES normally not necessary\n")); printf(_("\nOptions for stop or restart:\n")); - printf(_(" -m SHUTDOWN-MODE can be \"smart\", \"fast\", or \"immediate\"\n")); + printf(_(" -m, --mode MODE MODE can be \"smart\", \"fast\", or \"immediate\"\n")); printf(_("\nShutdown modes are:\n")); printf(_(" smart quit after all clients have disconnected\n")); |