Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f78ba0a

Browse files
committed
Woops. Previous patch to remove -X options missed getopt_long calls().
Noted by Tom Lane.
1 parent 0191e12 commit f78ba0a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/bin/pg_dump/pg_dump.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ main(int argc, char **argv)
365365
}
366366
}
367367

368-
while ((c = getopt_long(argc, argv, "abcCE:f:F:h:in:N:oOp:RsS:t:T:U:vwWxX:Z:",
368+
while ((c = getopt_long(argc, argv, "abcCE:f:F:h:in:N:oOp:RsS:t:T:U:vwWxZ:",
369369
long_options, &optindex)) != -1)
370370
{
371371
switch (c)

src/bin/pg_dump/pg_dumpall.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ main(int argc, char *argv[])
185185

186186
pgdumpopts = createPQExpBuffer();
187187

188-
while ((c = getopt_long(argc, argv, "acf:gh:il:oOp:rsS:tU:vwWxX:", long_options, &optindex)) != -1)
188+
while ((c = getopt_long(argc, argv, "acf:gh:il:oOp:rsS:tU:vwWx", long_options, &optindex)) != -1)
189189
{
190190
switch (c)
191191
{

src/bin/pg_dump/pg_restore.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ main(int argc, char **argv)
144144
}
145145
}
146146

147-
while ((c = getopt_long(argc, argv, "acCd:ef:F:h:iI:j:lL:n:Op:P:RsS:t:T:U:vwWxX:1",
147+
while ((c = getopt_long(argc, argv, "acCd:ef:F:h:iI:j:lL:n:Op:P:RsS:t:T:U:vwWx1",
148148
cmdopts, NULL)) != -1)
149149
{
150150
switch (c)

0 commit comments

Comments
 (0)