diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2012-06-18 02:44:00 +0300 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2012-06-18 02:46:59 +0300 |
commit | bb7520cc26dcd392e3dce294b685b3a0d6dae9e9 (patch) | |
tree | de211eec457521ff44e438075d8d1e600e989f04 /src/bin/psql/help.c | |
parent | 9e18eacbdff2ae2abd5ff38eee725e6399e39b41 (diff) | |
download | postgresql-bb7520cc26dcd392e3dce294b685b3a0d6dae9e9.tar.gz postgresql-bb7520cc26dcd392e3dce294b685b3a0d6dae9e9.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/psql/help.c')
-rw-r--r-- | src/bin/psql/help.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index 4a37c3414ca..8868d7151c0 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -94,11 +94,11 @@ usage(void) printf(_(" -l, --list list available databases, then exit\n")); printf(_(" -v, --set=, --variable=NAME=VALUE\n" " set psql variable NAME to VALUE\n")); + printf(_(" -V, --version output version information, then exit\n")); printf(_(" -X, --no-psqlrc do not read startup file (~/.psqlrc)\n")); printf(_(" -1 (\"one\"), --single-transaction\n" " execute command file as a single transaction\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(_("\nInput and output options:\n")); printf(_(" -a, --echo-all echo all input from script\n")); |