/** Add an option. */ public void addOption(Option o) { optsNames.put(o.getName(), o); int i = 0; for (String s : o.getOpts()) { updateMaxLength(i, s); optsArgs.put(s, o); i++; } }