Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
a4fd3366
Commit
a4fd3366
authored
11 years ago
by
Peter Eisentraut
Browse files
Options
Downloads
Patches
Plain Diff
pg_xlogdump: Improve --help output
parent
35d50b52
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
contrib/pg_xlogdump/pg_xlogdump.c
+4
-5
4 additions, 5 deletions
contrib/pg_xlogdump/pg_xlogdump.c
with
4 additions
and
5 deletions
contrib/pg_xlogdump/pg_xlogdump.c
+
4
−
5
View file @
a4fd3366
...
@@ -381,11 +381,8 @@ usage(void)
...
@@ -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
(
"
\n
General options:
\n
"
);
printf
(
"
\n
Options:
\n
"
);
printf
(
" -V, --version output version information, then exit
\n
"
);
printf
(
" -?, --help show this help, then exit
\n
"
);
printf
(
"
\n
Content 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)
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment