From 0de426066476ec09cb874f799294f5c19437881d 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 a62b191d..9959658a 100644 --- a/repmgr.c +++ b/repmgr.c @@ -174,7 +174,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:t", long_options, + while ((c = getopt_long(argc, argv, "?Vd:h:p:U:S:D:l:f:R:w:k:FWIvb:rcL:t", long_options, &optindex)) != -1) { /*