Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitb2f47aa

Browse files
committed
Clean up help (-?) output.
1 parenta3c502c commitb2f47aa

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)

[8]ページ先頭

©2009-2025 Movatter.jp