pos++; } else { throw new UnknownOptionException(arg);
pos++; } else { throw new UnknownOptionException(arg);
pos++; } else { throw new UnknownOptionException(arg);
pos++; } else { throw new UnknownOptionException(arg);
pos++; } else { throw new UnknownOptionException(arg);
/** * Main entry point. Calls {@code System.exit()} on all execution paths. * @param args argument list */ public static void main(String[] args) { try { int ret = run(new Configuration(), args); exit(ret, ""); } catch (CommandFormat.UnknownOptionException e) { errorln(e.getMessage()); printHelp(); exit(E_USAGE, e.getMessage()); } catch (ExitUtil.ExitException e) { // explicitly raised exit code exit(e.getExitCode(), e.toString()); } catch (Throwable e) { e.printStackTrace(System.err); exit(ERROR, e.toString()); } }