Skip to content

Commit 081ca7a

Browse files
committed
Tweak contrib --help output to match common style
Placeholders such as OPTION are typically kept in singular.
1 parent db84ba6 commit 081ca7a

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy