8000 Small cleanups of contrib --help output · postgrespro/postgres_cluster@510860a · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 510860a

Browse files
committed
Small cleanups of contrib --help output
1 parent 9c64f39 commit 510860a

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

contrib/pg_archivecleanup/pg_archivecleanup.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -248,11 +248,11 @@ usage(void)
248248
printf("Usage:\n");
249249
printf(" %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n", progname);
250250
printf("\nOptions:\n");
251-
printf(" -d generates debug output (verbose mode)\n");
252-
printf(" -n shows the names of the files that would have been removed (dry-run)\n");
253-
printf(" -x EXT cleanup files if they have this same extension\n");
254-
printf(" --help show this help, then exit\n");
255-
printf(" --version output version information, then exit\n");
251+
printf(" -d generate debug output (verbose mode)\n");
252+
printf(" -n dry run, show the names of the files that would be removed\n");
253+
printf(" -x EXT clean up files if they have this extension\n");
254+
printf(" --help show this help, then exit\n");
255+
printf(" --version output version information, then exit\n");
256256
printf("\n"
257257
"For use as archive_cleanup_command in recovery.conf when standby_mode = on:\n"
258258
" archive_cleanup_command = 'pg_archivecleanup [OPTION]... ARCHIVELOCATION %%r'\n"

contrib/pg_standby/pg_standby.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -517,16 +517,16 @@ usage(void)
517517
printf("Usage:\n");
518518
printf(" %s [OPTION]... ARCHIVELOCATION NEXTWALFILE XLOGFILEPATH [RESTARTWALFILE]\n", progname);
519519
printf("\nOptions:\n");
520-
printf(" -c copies file from archive (default)\n");
520+
printf(" -c copy file from archive (default)\n");
521521
printf(" -d generate lots of debugging output (testing only)\n");
522-
printf(" -k NUMFILESTOKEEP if RESTARTWALFILE not used, removes files prior to limit\n"
522+
printf(" -k NUMFILESTOKEEP if RESTARTWALFILE is not used, remove files prior to limit\n"
523523
" (0 keeps all)\n");
524524
printf(" -l does nothing; use of link is now deprecated\n");
525525
printf(" -r MAXRETRIES max number of times to retry, with progressive wait\n"
526526
" (default=3)\n");
527527
printf(" -s SLEEPTIME seconds to wait between file checks (min=1, max=60,\n"
528528
" default=5)\n");
529-
printf(" -t TRIGGERFILE defines a trigger file to initiate failover (no default)\n");
529+
printf(" -t TRIGGERFILE trigger file to initiate failover (no default)\n");
530530
printf(" -w MAXWAITTIME max seconds to wait for a file (0=no limit) (default=0)\n");
531531
printf(" --help show this help, then exit\n");
532532
printf(" --version output version information, then exit\n");

contrib/pgbench/pgbench.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ usage(const char *progname)
357357
" -f FILENAME read transaction script from FILENAME\n"
358358
" -j NUM number of threads (default: 1)\n"
359359
" -l write transaction times to log file\n"
360-
" -M {simple|extended|prepared}\n"
360+
" -M simple|extended|prepared\n"
361361
" protocol for submitting queries to server (default: simple)\n"
362362
" -n do not run VACUUM before tests\n"
363363
" -N do not update tables \"pgbench_tellers\" and \"pgbench_branches\"\n"

0 commit comments

Comments
 (0)
0