diff options
author | Peter Eisentraut | 2009-02-25 13:03:07 +0000 |
---|---|---|
committer | Peter Eisentraut | 2009-02-25 13:03:07 +0000 |
commit | cd3b750929af5dd6afb5881592e2a0276d1639ef (patch) | |
tree | 4218d0325c260d4f791d2c0ef04f561a34121efc /src/bin/scripts/dropuser.c | |
parent | 0160cebee9cd229f48a8b3726e31c5026ca8e001 (diff) |
Sort the output of --help mostly alphabetical, make it align better, make
help of pg_dump and pg_dumpall more similar.
Diffstat (limited to 'src/bin/scripts/dropuser.c')
-rw-r--r-- | src/bin/scripts/dropuser.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/scripts/dropuser.c b/src/bin/scripts/dropuser.c index 80d986ddd9d..a5087afcf05 100644 --- a/src/bin/scripts/dropuser.c +++ b/src/bin/scripts/dropuser.c @@ -5,7 +5,7 @@ * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/bin/scripts/dropuser.c,v 1.25 2009/01/01 17:23:55 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/scripts/dropuser.c,v 1.26 2009/02/25 13:03:07 petere Exp $ * *------------------------------------------------------------------------- */ @@ -141,11 +141,12 @@ help(const char *progname) printf(_("\nOptions:\n")); printf(_(" -e, --echo show the commands being sent to the server\n")); printf(_(" -i, --interactive prompt before deleting anything\n")); + printf(_(" --help show this help, then exit\n")); + printf(_(" --version output version information, 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")); printf(_(" -U, --username=USERNAME user name to connect as (not the one to drop)\n")); printf(_(" -W, --password force password prompt\n")); - printf(_(" --help show this help, then exit\n")); - printf(_(" --version output version information, then exit\n")); printf(_("\nReport bugs to <[email protected]>.\n")); } |