]> granicus.if.org Git - postgresql/commitdiff
Add -w option to --help output. It was apparently forgotten when -w was
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 17 Mar 2009 10:10:13 +0000 (10:10 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 17 Mar 2009 10:10:13 +0000 (10:10 +0000)
implemented.

src/bin/pg_dump/pg_dump.c

index d7a96d5b11bd2aa287408b08c1cd35e0e258dec2..f30aef41d1e274eea543d376d6539a3121f6f46f 100644 (file)
@@ -12,7 +12,7 @@
  *     by PostgreSQL
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.528 2009/03/04 11:57:00 petere Exp $
+ *       $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.529 2009/03/17 10:10:13 petere Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -841,6 +841,7 @@ help(const char *progname)
        printf(_("  -h, --host=HOSTNAME      database server host or socket directory\n"));
        printf(_("  -p, --port=PORT          database server port number\n"));
        printf(_("  -U, --username=NAME      connect as specified database user\n"));
+       printf(_("  -w, --no-password        never prompt for password\n"));
        printf(_("  -W, --password           force password prompt (should happen automatically)\n"));
 
        printf(_("\nIf no database name is supplied, then the PGDATABASE environment\n"