diff options
| author | Peter Eisentraut | 2012-06-17 23:44:00 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2012-06-17 23:46:59 +0000 |
| commit | bb7520cc26dcd392e3dce294b685b3a0d6dae9e9 (patch) | |
| tree | de211eec457521ff44e438075d8d1e600e989f04 /contrib/pg_standby | |
| parent | 9e18eacbdff2ae2abd5ff38eee725e6399e39b41 (diff) | |
Make documentation of --help and --version options more consistent
Before, some places didn't document the short options (-? and -V),
some documented both, some documented nothing, and they were listed in
various orders. Now this is hopefully more consistent and complete.
Diffstat (limited to 'contrib/pg_standby')
| -rw-r--r-- | contrib/pg_standby/pg_standby.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pg_standby/pg_standby.c b/contrib/pg_standby/pg_standby.c index 57241ff8970..84941ede137 100644 --- a/contrib/pg_standby/pg_standby.c +++ b/contrib/pg_standby/pg_standby.c @@ -527,9 +527,9 @@ usage(void) printf(" -s SLEEPTIME seconds to wait between file checks (min=1, max=60,\n" " default=5)\n"); printf(" -t TRIGGERFILE trigger file to initiate failover (no default)\n"); + printf(" -V, --version output version information, then exit\n"); printf(" -w MAXWAITTIME max seconds to wait for a file (0=no limit) (default=0)\n"); - printf(" --help show this help, then exit\n"); - printf(" --version output version information, then exit\n"); + printf(" -?, --help show this help, then exit\n"); printf("\n" "Main intended use as restore_command in recovery.conf:\n" " restore_command = 'pg_standby [OPTION]... ARCHIVELOCATION %%f %%p %%r'\n" |
