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

Commit081ca7a

Browse files
committed
Tweak contrib --help output to match common style
Placeholders such as OPTION are typically kept in singular.
1 parentdb84ba6 commit081ca7a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎contrib/oid2name/oid2name.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ help(const char *progname)
177177
{
178178
printf("%s helps examining the file structure used by PostgreSQL.\n\n"
179179
"Usage:\n"
180-
" %s [OPTIONS]...\n"
180+
" %s [OPTION]...\n"
181181
"\nOptions:\n"
182182
" -d DBNAME database to connect to\n"
183183
" -f FILENODE show info for table with given file node\n"

‎contrib/pg_upgrade/option.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ usage(void)
218218
{
219219
printf(_("pg_upgrade upgrades a PostgreSQL cluster to a different major version.\n\
220220
\nUsage:\n\
221-
pg_upgrade [OPTIONS]...\n\
221+
pg_upgrade [OPTION]...\n\
222222
\n\
223223
Options:\n\
224224
-b, --old-bindir=OLDBINDIR old cluster executable directory\n\

‎contrib/pgbench/pgbench.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ usage(const char *progname)
338338
{
339339
printf("%s is a benchmarking tool for PostgreSQL.\n\n"
340340
"Usage:\n"
341-
" %s [OPTIONS]... [DBNAME]\n"
341+
" %s [OPTION]... [DBNAME]\n"
342342
"\nInitialization options:\n"
343343
" -i invokes initialization mode\n"
344344
" -F NUM fill factor\n"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp