Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf994ed8

Browse files
committed
pg_walsummary: Document --version option
It was working, but it was not shown in the --help output or on theman page.
1 parentc3fa85b commitf994ed8

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)

[8]ページ先頭

©2009-2025 Movatter.jp