pg_walsummary: Document --version option

It was working, but it was not shown in the --help output or on the
man page.
This commit is contained in:
Peter Eisentraut 2024-04-24 08:56:21 +02:00
parent c3fa85b249
commit f994ed89a9
2 changed files with 11 additions and 0 deletions

View File

@ -83,6 +83,16 @@ PostgreSQL documentation
</listitem>
</varlistentry>
<varlistentry>
<term><option>-V</option></term>
<term><option>--version</option></term>
<listitem>
<para>
Display version information, then exit.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-?</option></term>
<term><option>--help</option></term>

View File

@ -270,6 +270,7 @@ help(const char *progname)
printf(_("\nOptions:\n"));
printf(_(" -i, --individual list block numbers individually, not as ranges\n"));
printf(_(" -q, --quiet don't print anything, just parse the files\n"));
printf(_(" -V, --version output version information, then exit\n"));
printf(_(" -?, --help show this help, then exit\n"));
printf(_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);