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

Commita4fd336

Browse files
committed
pg_xlogdump: Improve --help output
1 parent35d50b5 commita4fd336

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎contrib/pg_xlogdump/pg_xlogdump.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -381,11 +381,8 @@ usage(void)
381381
printf("%s decodes and displays PostgreSQL transaction logs for debugging.\n\n",
382382
progname);
383383
printf("Usage:\n");
384-
printf(" %s [OPTION] [STARTSEG [ENDSEG]] \n",progname);
385-
printf("\nGeneral options:\n");
386-
printf(" -V, --version output version information, then exit\n");
387-
printf(" -?, --help show this help, then exit\n");
388-
printf("\nContent options:\n");
384+
printf(" %s [OPTION]... [STARTSEG [ENDSEG]] \n",progname);
385+
printf("\nOptions:\n");
389386
printf(" -b, --bkp-details output detailed information about backup blocks\n");
390387
printf(" -e, --end=RECPTR stop reading at log position RECPTR\n");
391388
printf(" -n, --limit=N number of records to display\n");
@@ -396,7 +393,9 @@ usage(void)
396393
printf(" -s, --start=RECPTR start reading at log position RECPTR\n");
397394
printf(" -t, --timeline=TLI timeline from which to read log records\n");
398395
printf(" (default: 1 or the value used in STARTSEG)\n");
396+
printf(" -V, --version output version information, then exit\n");
399397
printf(" -x, --xid=XID only show records with TransactionId XID\n");
398+
printf(" -?, --help show this help, then exit\n");
400399
}
401400

402401
int

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp