Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.0
-
None
-
snapshot jar
Description
The help trigger feature seems not working.
When I pass --help to the command line, I have "Unexpected --help while processing", then usage is printed.
Code snippet:
Parser parser = new Parser(); parser.setGroup(group); parser.setHelpFormatter(new HelpFormatter()); parser.setHelpTrigger("--help"); parser.parseAndHelp(args);