From cde721e3fc8a33476ee437cdc4cde061525a707b Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 5 Jan 2016 11:03:30 +0900 Subject: [PATCH] repmgr: -r/--rsync-only does not require a parameter --- repmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgr.c b/repmgr.c index 1a004ffb..9a1fbee7 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:cL:tm:C:", long_options, + while ((c = getopt_long(argc, argv, "?Vd:h:p:U:S:D:l:f:R:w:k:FWIvb:rcL:tm:C:", long_options, &optindex)) != -1) { /*