mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Buf fix to pg_restire -S option in getopts
This commit is contained in:
@ -132,9 +132,9 @@ int main(int argc, char **argv)
|
|||||||
progname = *argv;
|
progname = *argv;
|
||||||
|
|
||||||
#ifdef HAVE_GETOPT_LONG
|
#ifdef HAVE_GETOPT_LONG
|
||||||
while ((c = getopt_long(argc, argv, "acCd:f:F:h:i:lNoOp:rRsSt:T:uU:vx", cmdopts, NULL)) != EOF)
|
while ((c = getopt_long(argc, argv, "acCd:f:F:h:i:lNoOp:rRsS:t:T:uU:vx", cmdopts, NULL)) != EOF)
|
||||||
#else
|
#else
|
||||||
while ((c = getopt(argc, argv, "acCd:f:F:h:i:lNoOp:rRsSt:T:uU:vx")) != -1)
|
while ((c = getopt(argc, argv, "acCd:f:F:h:i:lNoOp:rRsS:t:T:uU:vx")) != -1)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
switch (c)
|
switch (c)
|
||||||
|
Reference in New Issue
Block a user