repmgr: add missing -W option to getopt_long() invocation

Addresses GitHub #350.
This commit is contained in:
Ian Barwick
2017-12-20 10:24:58 +09:00
parent 4d2eca0978
commit 407a7ea2f4

View File

@@ -177,7 +177,7 @@ main(int argc, char **argv)
strncpy(runtime_options.username, pw->pw_name, MAXLEN);
}
while ((c = getopt_long(argc, argv, "?Vb:f:Fd:h:p:U:R:S:L:vtD:crC:", long_options,
while ((c = getopt_long(argc, argv, "?Vb:f:FWd:h:p:U:R:S:D:ckL:tvC:", long_options,
&optindex)) != -1)
{
/*