throw new CLParserException("Too many arguments");
}
}
protected void addTargets() {
OptionBuilder optionBuilder = OptionBuilder.hasArg().withArgName("targets");
optionBuilder = optionBuilder.withLongOpt(ARGUMENT_TARGETS);
optionBuilder = optionBuilder
.withDescription("If no targets are provided, the module is distributed to all available "
+ "targets. Geronimo only provides one target (ever), so this is primarily "
+ "useful when using a different driver.\n");
Option option = optionBuilder.create(ARGUMENT_TARGETS_SHORTFORM);
options.addOption(option);
}