mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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.
This commit is contained in:
@ -249,11 +249,11 @@ usage(void)
|
||||
printf("Usage:\n");
|
||||
printf(" %s [OPTION]... ARCHIVELOCATION OLDESTKEPTWALFILE\n", progname);
|
||||
printf("\nOptions:\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(" -d generate debug output (verbose mode)\n");
|
||||
printf(" -n dry run, show the names of the files that would be removed\n");
|
||||
printf(" -V, --version output version information, then exit\n");
|
||||
printf(" -x EXT clean up files if they have this extension\n");
|
||||
printf(" -?, --help show this help, 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"
|
||||
|
Reference in New Issue
Block a user