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
This commit is contained in:
Jaime Casanova
2013-01-13 16:32:56 -05:00
parent 8ee715b657
commit 031f9aedcc

View File

@@ -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)