@Override
protected void addParameter(ParameterDescriptor parameter) throws IntrospectionException {
// Check we can add the option
if (parameter instanceof OptionDescriptor) {
OptionDescriptor option = (OptionDescriptor)parameter;
Set<String> blah = new HashSet<String>();
for (String optionName : option.getNames()) {
blah.add((optionName.length() == 1 ? "-" : "--") + optionName);
}
for (MethodDescriptor<T> method : methods.values()) {
Set<String> diff = new HashSet<String>(method.getOptionNames());
diff.retainAll(blah);