From edce8addbdaa0b21ef70aac011195e1cb4055c21 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 20 Dec 2017 10:24:58 +0900 Subject: [PATCH] repmgr: add missing -W option to getopt_long() invocation Addresses GitHub #350. --- repmgr-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgr-client.c b/repmgr-client.c index bd402df8..008ab5a6 100644 --- a/repmgr-client.c +++ b/repmgr-client.c @@ -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) { /*