|
|
@@ -414,7 +414,7 @@ int locate_option(int argc, char **argv, const OptionDef *options, |
|
|
(po->name && !strcmp(optname, po->name))) |
|
|
(po->name && !strcmp(optname, po->name))) |
|
|
return i; |
|
|
return i; |
|
|
|
|
|
|
|
|
if (!po || po->flags & HAS_ARG) |
|
|
|
|
|
|
|
|
if (!po->name || po->flags & HAS_ARG) |
|
|
i++; |
|
|
i++; |
|
|
} |
|
|
} |
|
|
return 0; |
|
|
return 0; |
|
|
|