From 955860923f23b2994bfed75f891b60593869315c Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 7 Mar 2018 19:14:18 +0900 Subject: [PATCH] Fix parsing of -k/--keep-history option GitHub #394. --- repmgr-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgr-client.c b/repmgr-client.c index 85fa6a88..1b9fcc0b 100644 --- a/repmgr-client.c +++ b/repmgr-client.c @@ -176,7 +176,7 @@ main(int argc, char **argv) strncpy(runtime_options.username, pw->pw_name, MAXLEN); } - while ((c = getopt_long(argc, argv, "?Vb:f:FWd:h:p:U:R:S:D:ckL:tvC:", long_options, + while ((c = getopt_long(argc, argv, "?Vb:f:FWd:h:p:U:R:S:D:ck:L:tvC:", long_options, &optindex)) != -1) { /*