aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/createuser.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2009-02-26 16:20:55 +0000
committerPeter Eisentraut <peter_e@gmx.net>2009-02-26 16:20:55 +0000
commit257c4ff160534ea4f90ab2d566cb877297b31844 (patch)
tree3be5122169c08c89181c2b0785e325b9dacbdddf /src/bin/scripts/createuser.c
parent9de59fd191dc86e7a49a5d7726ef09041549fc88 (diff)
downloadpostgresql-257c4ff160534ea4f90ab2d566cb877297b31844.tar.gz
postgresql-257c4ff160534ea4f90ab2d566cb877297b31844.zip
Final removal of -q options, which haven't done anything since 8.3 and
were marked for removal in 8.4.
Diffstat (limited to 'src/bin/scripts/createuser.c')
-rw-r--r--src/bin/scripts/createuser.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/bin/scripts/createuser.c b/src/bin/scripts/createuser.c
index 88b9bd30d57..041b263c7a8 100644
--- a/src/bin/scripts/createuser.c
+++ b/src/bin/scripts/createuser.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/createuser.c,v 1.42 2009/02/26 16:02:39 petere Exp $
+ * $PostgreSQL: pgsql/src/bin/scripts/createuser.c,v 1.43 2009/02/26 16:20:55 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -27,7 +27,6 @@ main(int argc, char *argv[])
{"no-password", no_argument, NULL, 'w'},
{"password", no_argument, NULL, 'W'},
{"echo", no_argument, NULL, 'e'},
- {"quiet", no_argument, NULL, 'q'},
{"createdb", no_argument, NULL, 'd'},
{"no-createdb", no_argument, NULL, 'D'},
{"superuser", no_argument, NULL, 's'},
@@ -79,7 +78,7 @@ main(int argc, char *argv[])
handle_help_version_opts(argc, argv, "createuser", help);
- while ((c = getopt_long(argc, argv, "h:p:U:wWeqdDsSaArRiIlLc:PEN",
+ while ((c = getopt_long(argc, argv, "h:p:U:wWedDsSaArRiIlLc:PEN",
long_options, &optindex)) != -1)
{
switch (c)
@@ -102,9 +101,6 @@ main(int argc, char *argv[])
case 'e':
echo = true;
break;
- case 'q':
- /* obsolete; remove in 8.4 */
- break;
case 'd':
createdb = TRI_YES;
break;