mirror of
https://github.com/postgres/postgres.git
synced 2025-05-06 19:59:18 +03:00
pg_xlogdump: Improve --help output
This commit is contained in:
parent
35d50b527a
commit
a4fd3366a6
@ -381,11 +381,8 @@ usage(void)
|
|||||||
printf("%s decodes and displays PostgreSQL transaction logs for debugging.\n\n",
|
printf("%s decodes and displays PostgreSQL transaction logs for debugging.\n\n",
|
||||||
progname);
|
progname);
|
||||||
printf("Usage:\n");
|
printf("Usage:\n");
|
||||||
printf(" %s [OPTION] [STARTSEG [ENDSEG]] \n", progname);
|
printf(" %s [OPTION]... [STARTSEG [ENDSEG]] \n", progname);
|
||||||
printf("\nGeneral options:\n");
|
printf("\nOptions:\n");
|
||||||
printf(" -V, --version output version information, then exit\n");
|
|
||||||
printf(" -?, --help show this help, then exit\n");
|
|
||||||
printf("\nContent options:\n");
|
|
||||||
printf(" -b, --bkp-details output detailed information about backup blocks\n");
|
printf(" -b, --bkp-details output detailed information about backup blocks\n");
|
||||||
printf(" -e, --end=RECPTR stop reading at log position RECPTR\n");
|
printf(" -e, --end=RECPTR stop reading at log position RECPTR\n");
|
||||||
printf(" -n, --limit=N number of records to display\n");
|
printf(" -n, --limit=N number of records to display\n");
|
||||||
@ -396,7 +393,9 @@ usage(void)
|
|||||||
printf(" -s, --start=RECPTR start reading at log position RECPTR\n");
|
printf(" -s, --start=RECPTR start reading at log position RECPTR\n");
|
||||||
printf(" -t, --timeline=TLI timeline from which to read log records\n");
|
printf(" -t, --timeline=TLI timeline from which to read log records\n");
|
||||||
printf(" (default: 1 or the value used in STARTSEG)\n");
|
printf(" (default: 1 or the value used in STARTSEG)\n");
|
||||||
|
printf(" -V, --version output version information, then exit\n");
|
||||||
printf(" -x, --xid=XID only show records with TransactionId XID\n");
|
printf(" -x, --xid=XID only show records with TransactionId XID\n");
|
||||||
|
printf(" -?, --help show this help, then exit\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user