diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2009-02-26 16:02:39 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2009-02-26 16:02:39 +0000 |
commit | 9de59fd191dc86e7a49a5d7726ef09041549fc88 (patch) | |
tree | 9edc44560aa7beca92b7bc6c8e889c78655172c0 /src/bin/psql/help.c | |
parent | eea49769d415b00ea36e2ee64774cb4d1313d991 (diff) | |
download | postgresql-9de59fd191dc86e7a49a5d7726ef09041549fc88.tar.gz postgresql-9de59fd191dc86e7a49a5d7726ef09041549fc88.zip |
Add a -w/--no-password option that prevents all password prompts to all
programs that have a -W/--password option.
In passing, remove the ancient PSQL_ALWAYS_GET_PASSWORDS compile option.
Diffstat (limited to 'src/bin/psql/help.c')
-rw-r--r-- | src/bin/psql/help.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index 25d023ff07f..36c89d516ec 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2009, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.139 2009/02/25 13:03:07 petere Exp $ + * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.140 2009/02/26 16:02:38 petere Exp $ */ #include "postgres_fe.h" @@ -140,6 +140,7 @@ usage(void) if (!env) env = user; printf(_(" -U NAME database user name (default: \"%s\")\n"), env); + puts(_(" -w never prompt for password")); puts(_(" -W force password prompt (should happen automatically)")); puts(_( |