diff options
author | Magnus Hagander <magnus@hagander.net> | 2008-03-26 15:52:36 +0000 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2008-03-26 15:52:36 +0000 |
commit | 1c0e618e174871676c7fa129034b2a0942b608b7 (patch) | |
tree | 3a94ceecc2ea84084801bdfc82130017de831ef7 | |
parent | a07375e39a5a140f57fb704a77b0d887a0f1be34 (diff) | |
download | postgresql-1c0e618e174871676c7fa129034b2a0942b608b7.tar.gz postgresql-1c0e618e174871676c7fa129034b2a0942b608b7.zip |
Include \password in the psql help.
While at it, change the order of the documented options to be
alphabetically again.
-rw-r--r-- | src/bin/psql/help.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index 9d0eb40a24a..5e52259df8a 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2008, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.122 2008/01/20 21:13:55 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.122.2.1 2008/03/26 15:52:36 mha Exp $ */ #include "postgres_fe.h" @@ -177,14 +177,16 @@ slashUsage(unsigned short int pager) fprintf(output, _(" \\encoding [ENCODING]\n" " show or set client encoding\n")); fprintf(output, _(" \\h [NAME] help on syntax of SQL commands, * for all commands\n")); + fprintf(output, _(" \\prompt [TEXT] NAME\n" + " prompt user to set internal variable\n")); + fprintf(output, _(" \\password [USERNAME]\n" + " securely change the password for a user\n")); fprintf(output, _(" \\q quit psql\n")); fprintf(output, _(" \\set [NAME [VALUE]]\n" " set internal variable, or list all if no parameters\n")); fprintf(output, _(" \\timing toggle timing of commands (currently %s)\n"), ON(pset.timing)); fprintf(output, _(" \\unset NAME unset (delete) internal variable\n")); - fprintf(output, _(" \\prompt [TEXT] NAME\n" - " prompt user to set internal variable\n")); fprintf(output, _(" \\! [COMMAND] execute command in shell or start interactive shell\n")); fprintf(output, "\n"); |