Small cleanups of contrib --help output
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 19 May 2012 22:14:25 +0000 (01:14 +0300)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 19 May 2012 22:14:25 +0000 (01:14 +0300)
contrib/pg_archivecleanup/pg_archivecleanup.c
contrib/pg_standby/pg_standby.c
contrib/pgbench/pgbench.c

index 1b3cecf3c44c13c7e020dec2358102df83bcc4f1..20977805c8deab6df569263894069afa4a494ca5 100644 (file)
@@ -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"
index 0aa05344b9dd948e81ad3ab5d417ad82cf7332f0..52f5fcaf10651dc3e688eefb8d91332298596401 100644 (file)
@@ -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");
index 2e147d91caf781c5f6eaaa24e707628a8c8c99ff..b0e699187b5c99fd331f3d34348b663173718ab4 100644 (file)
@@ -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"