From 031f9aedcc28f5e84292d1fff8c1da26fec929be Mon Sep 17 00:00:00 2001 From: Jaime Casanova Date: Sun, 13 Jan 2013 16:32:56 -0500 Subject: [PATCH] Options -F -I -v doesn't accept arguments, which means that on getopt_long shouldn't be marked with the colon (:) character. This has been wrong since day one, so backpatching all the way until 1.1 --- repmgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repmgr.c b/repmgr.c index 2eaddc6c..7612d923 100644 --- a/repmgr.c +++ b/repmgr.c @@ -118,7 +118,7 @@ main(int argc, char **argv) } - while ((c = getopt_long(argc, argv, "d:h:p:U:D:f:R:w:F:I:v", long_options, + while ((c = getopt_long(argc, argv, "d:h:p:U:D:f:R:w:FIv", long_options, &optindex)) != -1) { switch (c)