summaryrefslogtreecommitdiff
path: root/src/backend/main/main.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:46:59 +0300
commitbb7520cc26dcd392e3dce294b685b3a0d6dae9e9 (patch)
treede211eec457521ff44e438075d8d1e600e989f04 /src/backend/main/main.c
parent9e18eacbdff2ae2abd5ff38eee725e6399e39b41 (diff)
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/backend/main/main.c')
-rw-r--r--src/backend/main/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/main/main.c b/src/backend/main/main.c
index 7203481a04b..c7d48e95ad6 100644
--- a/src/backend/main/main.c
+++ b/src/backend/main/main.c
@@ -295,10 +295,10 @@ help(const char *progname)
printf(_(" -p PORT port number to listen on\n"));
printf(_(" -s show statistics after each query\n"));
printf(_(" -S WORK-MEM set amount of memory for sorts (in kB)\n"));
+ printf(_(" -V, --version output version information, then exit\n"));
printf(_(" --NAME=VALUE set run-time parameter\n"));
printf(_(" --describe-config describe configuration parameters, then exit\n"));
- printf(_(" --help show this help, then exit\n"));
- printf(_(" --version output version information, then exit\n"));
+ printf(_(" -?, --help show this help, then exit\n"));
printf(_("\nDeveloper options:\n"));
printf(_(" -f s|i|n|m|h forbid use of some plan types\n"));