diff --git a/doc/src/sgml/ref/pg_waldump.sgml b/doc/src/sgml/ref/pg_waldump.sgml
index 300edc9fc41..e5f9637847e 100644
--- a/doc/src/sgml/ref/pg_waldump.sgml
+++ b/doc/src/sgml/ref/pg_waldump.sgml
@@ -241,6 +241,37 @@ PostgreSQL documentation
+
+
+
+
+
+ Only display records marked with the given transaction ID.
+
+
+
+
+
+
+
+
+
+ Display summary statistics (number and size of records and
+ full-page images) instead of individual records. Optionally
+ generate statistics per-record instead of per-rmgr.
+
+
+
+ If pg_waldump is terminated by signal
+ SIGINT
+ (ControlC),
+ the summary of the statistics computed is displayed up to the
+ termination point. This operation is not supported on
+ Windows.
+
+
+
+
@@ -307,37 +338,6 @@ PostgreSQL documentation
-
-
-
-
-
- Only display records marked with the given transaction ID.
-
-
-
-
-
-
-
-
-
- Display summary statistics (number and size of records and
- full-page images) instead of individual records. Optionally
- generate statistics per-record instead of per-rmgr.
-
-
-
- If pg_waldump is terminated by signal
- SIGINT
- (ControlC),
- the summary of the statistics computed is displayed up to the
- termination point. This operation is not supported on
- Windows.
-
-
-
-
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);