repmgr: -r/--rsync-only does not require a parameter

This commit is contained in:
Ian Barwick
2016-01-05 11:03:30 +09:00
parent 7b2439b824
commit cde721e3fc

View File

@@ -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)
{
/*