return createSimpleOption(longName, longName, rule);
}
public static SimpleCmdLineOption createSimpleOption(String shortName,
String longName, RequirementRule rule) {
SimpleCmdLineOption option = new SimpleCmdLineOption();
option.setShortOption(shortName);
option.setLongOption(longName);
option.setRequirementRules(Collections.singletonList(rule));
return option;
}