From bb7520cc26dcd392e3dce294b685b3a0d6dae9e9 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 18 Jun 2012 02:44:00 +0300 Subject: 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. --- src/bin/scripts/dropuser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bin/scripts/dropuser.c') diff --git a/src/bin/scripts/dropuser.c b/src/bin/scripts/dropuser.c index 85b73a42ac2..d0bf6ff4978 100644 --- a/src/bin/scripts/dropuser.c +++ b/src/bin/scripts/dropuser.c @@ -159,9 +159,9 @@ help(const char *progname) printf(_(" -e, --echo show the commands being sent to the server\n")); printf(_(" -i, --interactive prompt before deleting anything, and prompt for\n" " role name if not specified\n")); + printf(_(" -V, --version output version information, then exit\n")); printf(_(" --if-exists don't report error if user doesn't exist\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(_("\nConnection options:\n")); printf(_(" -h, --host=HOSTNAME database server host or socket directory\n")); printf(_(" -p, --port=PORT database server port\n")); -- cgit v1.2.3