diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2013-05-11 21:55:37 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2013-05-11 22:02:53 -0400 |
commit | a4fd3366a6555a065f1be9f127110c9f642323b9 (patch) | |
tree | 9f944f998c35d6c930ac7522040b322457e137cf | |
parent | 35d50b527a9f99e22a317269ceb00491397d0e00 (diff) | |
download | postgresql-a4fd3366a6555a065f1be9f127110c9f642323b9.tar.gz postgresql-a4fd3366a6555a065f1be9f127110c9f642323b9.zip |
pg_xlogdump: Improve --help output
-rw-r--r-- | contrib/pg_xlogdump/pg_xlogdump.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/contrib/pg_xlogdump/pg_xlogdump.c b/contrib/pg_xlogdump/pg_xlogdump.c index d6d549878a4..1dd9034d531 100644 --- a/contrib/pg_xlogdump/pg_xlogdump.c +++ b/contrib/pg_xlogdump/pg_xlogdump.c @@ -381,11 +381,8 @@ usage(void) printf("%s decodes and displays PostgreSQL transaction logs for debugging.\n\n", progname); printf("Usage:\n"); - printf(" %s [OPTION] [STARTSEG [ENDSEG]] \n", progname); - printf("\nGeneral options:\n"); - printf(" -V, --version output version information, then exit\n"); - printf(" -?, --help show this help, then exit\n"); - printf("\nContent options:\n"); + printf(" %s [OPTION]... [STARTSEG [ENDSEG]] \n", progname); + printf("\nOptions:\n"); printf(" -b, --bkp-details output detailed information about backup blocks\n"); printf(" -e, --end=RECPTR stop reading at log position RECPTR\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(" -t, --timeline=TLI timeline from which to read log records\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(" -?, --help show this help, then exit\n"); } int |