Prints usage and error message.
Please note that this method does not terminate the program.
6162636465666768697071
Namespace ns; try { ns = parser.parseArgs( args ); } catch ( ArgumentParserException e ) { parser.handleError( e ); return false; } JoltCliProcessor joltToolProcessor = JOLT_CLI_PROCESSOR_MAP.get( args[0] ); if ( joltToolProcessor != null ) {
156157158159160161162163164165166
addArgs(parser); try { this.options = parser.parseArgs(args); } catch (ArgumentParserException e) { parser.handleError(e); throw e; } } protected void addArgs(final ArgumentParser parser) {