From e452bf66013ac7b90c68f025841363a780109f33 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 22 Dec 2015 12:35:42 +0900 Subject: [PATCH] Short option -c does not take a value --- repmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgr.c b/repmgr.c index 669fa756..6d23d911 100644 --- a/repmgr.c +++ b/repmgr.c @@ -183,7 +183,7 @@ main(int argc, char **argv) /* Prevent getopt_long() from printing an error message */ opterr = 0; - while ((c = getopt_long(argc, argv, "?Vd:h:p:U:S:D:l:f:R:w:k:FWIvb:r:c:L:tm:C:", long_options, + while ((c = getopt_long(argc, argv, "?Vd:h:p:U:S:D:l:f:R:w:k:FWIvb:r:cL:tm:C:", long_options, &optindex)) != -1) { /*