mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Tweak contrib --help output to match common style
Placeholders such as OPTION are typically kept in singular.
This commit is contained in:
@ -177,7 +177,7 @@ help(const char *progname)
|
|||||||
{
|
{
|
||||||
printf("%s helps examining the file structure used by PostgreSQL.\n\n"
|
printf("%s helps examining the file structure used by PostgreSQL.\n\n"
|
||||||
"Usage:\n"
|
"Usage:\n"
|
||||||
" %s [OPTIONS]...\n"
|
" %s [OPTION]...\n"
|
||||||
"\nOptions:\n"
|
"\nOptions:\n"
|
||||||
" -d DBNAME database to connect to\n"
|
" -d DBNAME database to connect to\n"
|
||||||
" -f FILENODE show info for table with given file node\n"
|
" -f FILENODE show info for table with given file node\n"
|
||||||
|
@ -218,7 +218,7 @@ usage(void)
|
|||||||
{
|
{
|
||||||
printf(_("pg_upgrade upgrades a PostgreSQL cluster to a different major version.\n\
|
printf(_("pg_upgrade upgrades a PostgreSQL cluster to a different major version.\n\
|
||||||
\nUsage:\n\
|
\nUsage:\n\
|
||||||
pg_upgrade [OPTIONS]...\n\
|
pg_upgrade [OPTION]...\n\
|
||||||
\n\
|
\n\
|
||||||
Options:\n\
|
Options:\n\
|
||||||
-b, --old-bindir=OLDBINDIR old cluster executable directory\n\
|
-b, --old-bindir=OLDBINDIR old cluster executable directory\n\
|
||||||
|
@ -338,7 +338,7 @@ usage(const char *progname)
|
|||||||
{
|
{
|
||||||
printf("%s is a benchmarking tool for PostgreSQL.\n\n"
|
printf("%s is a benchmarking tool for PostgreSQL.\n\n"
|
||||||
"Usage:\n"
|
"Usage:\n"
|
||||||
" %s [OPTIONS]... [DBNAME]\n"
|
" %s [OPTION]... [DBNAME]\n"
|
||||||
"\nInitialization options:\n"
|
"\nInitialization options:\n"
|
||||||
" -i invokes initialization mode\n"
|
" -i invokes initialization mode\n"
|
||||||
" -F NUM fill factor\n"
|
" -F NUM fill factor\n"
|
||||||
|
Reference in New Issue
Block a user