summaryrefslogtreecommitdiff
path: root/contrib/vacuumlo
diff options
context:
space:
mode:
authorPeter Eisentraut2012-06-17 23:44:00 +0000
committerPeter Eisentraut2012-06-17 23:46:59 +0000
commitbb7520cc26dcd392e3dce294b685b3a0d6dae9e9 (patch)
treede211eec457521ff44e438075d8d1e600e989f04 /contrib/vacuumlo
parent9e18eacbdff2ae2abd5ff38eee725e6399e39b41 (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/vacuumlo')
-rw-r--r--contrib/vacuumlo/vacuumlo.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/contrib/vacuumlo/vacuumlo.c b/contrib/vacuumlo/vacuumlo.c
index 958a496b24a..7f5287c27ae 100644
--- a/contrib/vacuumlo/vacuumlo.c
+++ b/contrib/vacuumlo/vacuumlo.c
@@ -384,16 +384,17 @@ usage(const char *progname)
printf("%s removes unreferenced large objects from databases.\n\n", progname);
printf("Usage:\n %s [OPTION]... DBNAME...\n\n", progname);
printf("Options:\n");
- printf(" -h HOSTNAME database server host or socket directory\n");
- printf(" -l LIMIT commit after removing each LIMIT large objects\n");
- printf(" -n don't remove large objects, just show what would be done\n");
- printf(" -p PORT database server port\n");
- printf(" -U USERNAME user name to connect as\n");
- printf(" -w never prompt for password\n");
- printf(" -W force password prompt\n");
- printf(" -v write a lot of progress messages\n");
- printf(" --help show this help, then exit\n");
- printf(" --version output version information, then exit\n");
+ printf(" -l LIMIT commit after removing each LIMIT large objects\n");
+ printf(" -n don't remove large objects, just show what would be done\n");
+ printf(" -v write a lot of progress messages\n");
+ printf(" -V, --version output version information, then exit\n");
+ printf(" -?, --help show this help, then exit\n");
+ printf("\nConnection options:\n");
+ printf(" -h HOSTNAME database server host or socket directory\n");
+ printf(" -p PORT database server port\n");
+ printf(" -U USERNAME user name to connect as\n");
+ printf(" -w never prompt for password\n");
+ printf(" -W force password prompt\n");
printf("\n");
printf("Report bugs to <pgsql-bugs@postgresql.org>.\n");
}