From 510860a6a5e4b66091353e7b0d619f71f6bec789 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 20 May 2012 01:14:25 +0300 Subject: [PATCH] Small cleanups of contrib --help output --- contrib/pg_archivecleanup/pg_archivecleanup.c | 10 +++++----- contrib/pg_standby/pg_standby.c | 6 +++--- contrib/pgbench/pgbench.c | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/contrib/pg_archivecleanup/pg_archivecleanup.c b/contrib/pg_archivecleanup/pg_archivecleanup.c index 1b3cecf3c4..20977805c8 100644 --- a/contrib/pg_archivecleanup/pg_archivecleanup.c +++ b/contrib/pg_archivecleanup/pg_archivecleanup.c @@ -248,11 +248,11 @@ usage(void) printf("Usage:\n"); printf(" %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n", progname); printf("\nOptions:\n"); - printf(" -d generates debug output (verbose mode)\n"); - printf(" -n shows the names of the files that would have been removed (dry-run)\n"); - printf(" -x EXT cleanup files if they have this same extension\n"); - printf(" --help show this help, then exit\n"); - printf(" --version output version information, then exit\n"); + printf(" -d generate debug output (verbose mode)\n"); + printf(" -n dry run, show the names of the files that would be removed\n"); + printf(" -x EXT clean up files if they have this extension\n"); + printf(" --help show this help, then exit\n"); + printf(" --version output version information, then exit\n"); printf("\n" "For use as archive_cleanup_command in recovery.conf when standby_mode = on:\n" " archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION %%r'\n" diff --git a/contrib/pg_standby/pg_standby.c b/contrib/pg_standby/pg_standby.c index 0aa05344b9..52f5fcaf10 100644 --- a/contrib/pg_standby/pg_standby.c +++ b/contrib/pg_standby/pg_standby.c @@ -517,16 +517,16 @@ usage(void) printf("Usage:\n"); printf(" %s [OPTION]... ARCHIVELOCATION NEXTWALFILE XLOGFILEPATH [RESTARTWALFILE]\n", progname); printf("\nOptions:\n"); - printf(" -c copies file from archive (default)\n"); + printf(" -c copy file from archive (default)\n"); printf(" -d generate lots of debugging output (testing only)\n"); - printf(" -k NUMFILESTOKEEP if RESTARTWALFILE not used, removes files prior to limit\n" + printf(" -k NUMFILESTOKEEP if RESTARTWALFILE is not used, remove files prior to limit\n" " (0 keeps all)\n"); printf(" -l does nothing; use of link is now deprecated\n"); printf(" -r MAXRETRIES max number of times to retry, with progressive wait\n" " (default=3)\n"); printf(" -s SLEEPTIME seconds to wait between file checks (min=1, max=60,\n" " default=5)\n"); - printf(" -t TRIGGERFILE defines a trigger file to initiate failover (no default)\n"); + printf(" -t TRIGGERFILE trigger file to initiate failover (no default)\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"); diff --git a/contrib/pgbench/pgbench.c b/contrib/pgbench/pgbench.c index 2e147d91ca..b0e699187b 100644 --- a/contrib/pgbench/pgbench.c +++ b/contrib/pgbench/pgbench.c @@ -357,7 +357,7 @@ usage(const char *progname) " -f FILENAME read transaction script from FILENAME\n" " -j NUM number of threads (default: 1)\n" " -l write transaction times to log file\n" - " -M {simple|extended|prepared}\n" + " -M simple|extended|prepared\n" " protocol for submitting queries to server (default: simple)\n" " -n do not run VACUUM before tests\n" " -N do not update tables \"pgbench_tellers\" and \"pgbench_branches\"\n" -- 2.40.0