Options -F -W -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 7d94151494
commit 672b237c4e

View File

@@ -134,7 +134,7 @@ main(int argc, char **argv)
}
while ((c = getopt_long(argc, argv, "d:h:p:U:D:l:f:R:w:k:F:W:I:v", long_options,
while ((c = getopt_long(argc, argv, "d:h:p:U:D:l:f:R:w:k:FWIv", long_options,
&optindex)) != -1)
{
switch (c)