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

Commit0a89e93

Browse files
committed
Fix option related issues in pg_verifybackup.
This commit does:- get rid of the garbage code for unused --print-parse-wal option.- add help message for --quiet option into usage().- fix typo of option name in help message.Author: Fujii MasaoReviewed-by: Robert HaasDiscussion:https://postgr.es/m/ff4710f7-2331-4f6b-012e-d76da3275e91@oss.nttdata.com
1 parent1cc3464 commit0a89e93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/pg_verifybackup/pg_verifybackup.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ main(int argc, char **argv)
162162
{"ignore",required_argument,NULL,'i'},
163163
{"manifest-path",required_argument,NULL,'m'},
164164
{"no-parse-wal",no_argument,NULL,'n'},
165-
{"print-parse-wal",no_argument,NULL,'p'},
166165
{"quiet",no_argument,NULL,'q'},
167166
{"skip-checksums",no_argument,NULL,'s'},
168167
{"wal-directory",required_argument,NULL,'w'},
@@ -894,8 +893,9 @@ usage(void)
894893
printf(_("Options:\n"));
895894
printf(_(" -e, --exit-on-error exit immediately on error\n"));
896895
printf(_(" -i, --ignore=RELATIVE_PATH ignore indicated path\n"));
897-
printf(_(" -m, --manifest=PATH use specified path for manifest\n"));
896+
printf(_(" -m, --manifest-path=PATH use specified path for manifest\n"));
898897
printf(_(" -n, --no-parse-wal do not try to parse WAL files\n"));
898+
printf(_(" -q, --quiet do not print any output, except for errors\n"));
899899
printf(_(" -s, --skip-checksums skip checksum verification\n"));
900900
printf(_(" -w, --wal-directory=PATH use specified path for WAL files\n"));
901901
printf(_(" -V, --version output version information, then exit\n"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp