aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/createlang.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2012-06-18 02:44:00 +0300
committerPeter Eisentraut <peter_e@gmx.net>2012-06-18 02:47:53 +0300
commit03132da3b65eb44e65fe26267b73c101d6a2113a (patch)
treed3f56bac98e02b0f99d5a108cbe474229cd83c77 /src/bin/scripts/createlang.c
parent3cdd19b0a66fc8845282d4012b0fcf3e94515e7b (diff)
downloadpostgresql-03132da3b65eb44e65fe26267b73c101d6a2113a.tar.gz
postgresql-03132da3b65eb44e65fe26267b73c101d6a2113a.zip
Make documentation of --help and --version options more consistent
Before, some places didn't document the short options (-? and -V), some documented both, some documented nothing, and they were listed in various orders. Now this is hopefully more consistent and complete.
Diffstat (limited to 'src/bin/scripts/createlang.c')
-rw-r--r--src/bin/scripts/createlang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/scripts/createlang.c b/src/bin/scripts/createlang.c
index 8268eda6ed3..60066af377f 100644
--- a/src/bin/scripts/createlang.c
+++ b/src/bin/scripts/createlang.c
@@ -237,8 +237,8 @@ help(const char *progname)
printf(_(" -d, --dbname=DBNAME database to install language in\n"));
printf(_(" -e, --echo show the commands being sent to the server\n"));
printf(_(" -l, --list show a list of currently installed languages\n"));
- printf(_(" --help show this help, then exit\n"));
- printf(_(" --version output version information, then exit\n"));
+ printf(_(" -V, --version output version information, then exit\n"));
+ printf(_(" -?, --help show this help, then exit\n"));
printf(_("\nConnection options:\n"));
printf(_(" -h, --host=HOSTNAME database server host or socket directory\n"));
printf(_(" -p, --port=PORT database server port\n"));