Example usage for Java org.apache.commons.cli2.commandline Parser fields, constructors, methods, implement or subclass
The text is from its open source code.
CommandLine | parse(final String[] arguments) Parse the arguments according to the specified options and properties. |
CommandLine | parseAndHelp(final String[] arguments) Parse the arguments according to the specified options and properties and displays the usage screen if the CommandLine is not valid or the help option was specified. |
void | setGroup(final Group group) Sets the Group of options to parse against |
void | setHelpFormatter(final HelpFormatter helpFormatter) Sets the HelpFormatter to use with the simplified parsing. |
void | setHelpOption(final Option helpOption) Sets the help option to use with the simplified parsing. |
void | setHelpTrigger(final String helpTrigger) Sets the help option to use with the simplified parsing. |