Skip to content

Commit f994ed8

Browse files
committed
pg_walsummary: Document --version option
It was working, but it was not shown in the --help output or on the man page.
1 parent c3fa85b commit f994ed8

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

doc/src/sgml/ref/pg_walsummary.sgml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,16 @@ PostgreSQL documentation
8383
</listitem>
8484
</varlistentry>
8585

86+
<varlistentry>
87+
<term><option>-V</option></term>
88+
<term><option>--version</option></term>
89+
<listitem>
90+
<para>
91+
Display version information, then exit.
92+
</para>
93+
</listitem>
94+
</varlistentry>
95+
8696
<varlistentry>
8797
<term><option>-?</option></term>
8898
<term><option>--help</option></term>

src/bin/pg_walsummary/pg_walsummary.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ help(const char *progname)
270270
printf(_("\nOptions:\n"));
271271
printf(_(" -i, --individual list block numbers individually, not as ranges\n"));
272272
printf(_(" -q, --quiet don't print anything, just parse the files\n"));
273+
printf(_(" -V, --version output version information, then exit\n"));
273274
printf(_(" -?, --help show this help, then exit\n"));
274275

275276
printf(_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);

0 commit comments

Comments
 (0)