Skip to content

Commit b2f47aa

Browse files
committed
Clean up help (-?) output.
1 parent a3c502c commit b2f47aa

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

contrib/vacuumlo/vacuumlo.c

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/contrib/vacuumlo/vacuumlo.c,v 1.38 2009/02/25 13:24:40 petere Exp $
11+
* $PostgreSQL: pgsql/contrib/vacuumlo/vacuumlo.c,v 1.39 2009/02/25 13:34:32 petere Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -301,15 +301,16 @@ vacuumlo(char *database, struct _param * param)
301301
void
302302
usage(void)
303303
{
304-
fprintf(stdout, "vacuumlo removes unreferenced large objects from databases\n\n");
305-
fprintf(stdout, "Usage:\n vacuumlo [options] dbname [dbname ...]\n\n");
306-
fprintf(stdout, "Options:\n");
307-
fprintf(stdout, " -v\t\tWrite a lot of progress messages\n");
308-
fprintf(stdout, " -n\t\tDon't remove large objects, just show what would be done\n");
309-
fprintf(stdout, " -U username\tUsername to connect as\n");
310-
fprintf(stdout, " -W\t\tForce password prompt\n");
311-
fprintf(stdout, " -h hostname\tDatabase server host\n");
312-
fprintf(stdout, " -p port\tDatabase server port\n\n");
304+
printf("vacuumlo removes unreferenced large objects from databases.\n\n");
305+
printf("Usage:\n vacuumlo [OPTION]... DBNAME...\n\n");
306+
printf("Options:\n");
307+
printf(" -h HOSTNAME database server host or socket directory\n");
308+
printf(" -n don't remove large objects, just show what would be done\n");
309+
printf(" -p PORT database server port\n");
310+
printf(" -U USERNAME user name to connect as\n");
311+
printf(" -W force password prompt\n");
312+
printf(" -v write a lot of progress messages\n");
313+
printf("\n");
313314
}
314315

315316

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy