aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2023-04-17 11:09:17 +0200
committerPeter Eisentraut <peter@eisentraut.org>2023-04-17 11:09:17 +0200
commit2434d60a2ae977a460eda401fd9f99cf619f4743 (patch)
tree39e3cf87fb5a4b63c5e8b0419dd5ee0f937f98e6 /src
parentfde9c068818246f6d79649eff355a2b95106991d (diff)
downloadpostgresql-2434d60a2ae977a460eda401fd9f99cf619f4743.tar.gz
postgresql-2434d60a2ae977a460eda401fd9f99cf619f4743.zip
Put new command-line option into sensible order in help output
We have two existing conventions for long options: either alphabetical among short options, or all long options after all the short options. But the convention apparently used here, next to a functionally related option, is not one of them.
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_waldump/pg_waldump.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/pg_waldump/pg_waldump.c b/src/bin/pg_waldump/pg_waldump.c
index 8630000ef0b..c6d3ae63445 100644
--- a/src/bin/pg_waldump/pg_waldump.c
+++ b/src/bin/pg_waldump/pg_waldump.c
@@ -774,11 +774,10 @@ usage(void)
" (default: 1 or the value used in STARTSEG)\n"));
printf(_(" -V, --version output version information, then exit\n"));
printf(_(" -w, --fullpage only show records with a full page write\n"));
- printf(_(" --save-fullpage=PATH\n"
- " save full page images\n"));
printf(_(" -x, --xid=XID only show records with transaction ID XID\n"));
printf(_(" -z, --stats[=record] show statistics instead of records\n"
" (optionally, show per-record statistics)\n"));
+ printf(_(" --save-fullpage=DIR save full page images to DIR\n"));
printf(_(" -?, --help show this help, then exit\n"));
printf(_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
printf(_("%s home page: <%s>\n"), PACKAGE_NAME, PACKAGE_URL);