diff options
author | Robert Haas <rhaas@postgresql.org> | 2011-03-18 21:22:43 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2011-03-18 21:23:28 -0400 |
commit | f78ba0a73a60f40270b21c4582f6a7d52fe16739 (patch) | |
tree | 572938a59f5963463a6907a6e8ba607f4755c03a | |
parent | 0191e120e6b427f16aed239c657b9e32c83a0f6d (diff) | |
download | postgresql-f78ba0a73a60f40270b21c4582f6a7d52fe16739.tar.gz postgresql-f78ba0a73a60f40270b21c4582f6a7d52fe16739.zip |
Woops. Previous patch to remove -X options missed getopt_long calls().
Noted by Tom Lane.
-rw-r--r-- | src/bin/pg_dump/pg_dump.c | 2 | ||||
-rw-r--r-- | src/bin/pg_dump/pg_dumpall.c | 2 | ||||
-rw-r--r-- | src/bin/pg_dump/pg_restore.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index dadb5677c28..5561295e50c 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -365,7 +365,7 @@ main(int argc, char **argv) } } - while ((c = getopt_long(argc, argv, "abcCE:f:F:h:in:N:oOp:RsS:t:T:U:vwWxX:Z:", + while ((c = getopt_long(argc, argv, "abcCE:f:F:h:in:N:oOp:RsS:t:T:U:vwWxZ:", long_options, &optindex)) != -1) { switch (c) diff --git a/src/bin/pg_dump/pg_dumpall.c b/src/bin/pg_dump/pg_dumpall.c index 13c4d9d818c..9082653552e 100644 --- a/src/bin/pg_dump/pg_dumpall.c +++ b/src/bin/pg_dump/pg_dumpall.c @@ -185,7 +185,7 @@ main(int argc, char *argv[]) pgdumpopts = createPQExpBuffer(); - while ((c = getopt_long(argc, argv, "acf:gh:il:oOp:rsS:tU:vwWxX:", long_options, &optindex)) != -1) + while ((c = getopt_long(argc, argv, "acf:gh:il:oOp:rsS:tU:vwWx", long_options, &optindex)) != -1) { switch (c) { diff --git a/src/bin/pg_dump/pg_restore.c b/src/bin/pg_dump/pg_restore.c index f1440e2ace9..241e29f149b 100644 --- a/src/bin/pg_dump/pg_restore.c +++ b/src/bin/pg_dump/pg_restore.c @@ -144,7 +144,7 @@ main(int argc, char **argv) } } - while ((c = getopt_long(argc, argv, "acCd:ef:F:h:iI:j:lL:n:Op:P:RsS:t:T:U:vwWxX:1", + while ((c = getopt_long(argc, argv, "acCd:ef:F:h:iI:j:lL:n:Op:P:RsS:t:T:U:vwWx1", cmdopts, NULL)) != -1) { switch (c) |