Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
In documentation it says as follows:
CommandLine parse(Options options,
String[] arguments,
boolean stopAtNonOption)
throws ParseException
stopAtNonOption - specifies whether to continue parsing the arguments if a non option is encountered.
The parser stops an throws Exception if "stopAtNonOption" is set to false (when I guess it should be other way round), if I set boolean "true", the parser ignores unknown arguments and continues without throwing Exception.