diff options
author | Peter Eisentraut | 2009-02-25 13:34:32 +0000 |
---|---|---|
committer | Peter Eisentraut | 2009-02-25 13:34:32 +0000 |
commit | 0acaf2705b2d9a5853bba8ca9d95da7bafae1307 (patch) | |
tree | 25e1cb872e1c0aaadd5be63f4518098b88f6f158 | |
parent | e6f11f6e5a792510c93cbb2b2255086d9eda6233 (diff) |
Clean up help (-?) output.
-rw-r--r-- | contrib/vacuumlo/vacuumlo.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/contrib/vacuumlo/vacuumlo.c b/contrib/vacuumlo/vacuumlo.c index d0a15f547b..3560c22d31 100644 --- a/contrib/vacuumlo/vacuumlo.c +++ b/contrib/vacuumlo/vacuumlo.c @@ -301,15 +301,16 @@ vacuumlo(char *database, struct _param * param) void usage(void) { - fprintf(stdout, "vacuumlo removes unreferenced large objects from databases\n\n"); - fprintf(stdout, "Usage:\n vacuumlo [options] dbname [dbname ...]\n\n"); - fprintf(stdout, "Options:\n"); - fprintf(stdout, " -v\t\tWrite a lot of progress messages\n"); - fprintf(stdout, " -n\t\tDon't remove large objects, just show what would be done\n"); - fprintf(stdout, " -U username\tUsername to connect as\n"); - fprintf(stdout, " -W\t\tForce password prompt\n"); - fprintf(stdout, " -h hostname\tDatabase server host\n"); - fprintf(stdout, " -p port\tDatabase server port\n\n"); + printf("vacuumlo removes unreferenced large objects from databases.\n\n"); + printf("Usage:\n vacuumlo [OPTION]... DBNAME...\n\n"); + printf("Options:\n"); + printf(" -h HOSTNAME database server host or socket directory\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 force password prompt\n"); + printf(" -v write a lot of progress messages\n"); + printf("\n"); } |