in src/main/java/com/vmware/vim25/mo/util/CommandLineParser.java [331:357]
public String get_option(String key) {
if (optsEntered.get(key) != null) {
return optsEntered.get(key).toString();
}
else if (checkInputOptions(builtInOpts, key)) {
if (((OptionSpec) builtInOpts.get(key)).getOptionDefault() != null) {
String str = ((OptionSpec) builtInOpts.get(key)).getOptionDefault();
return str;
}
else {
return null;
}
}
else if (checkInputOptions(userOpts, key)) {
if (((OptionSpec) userOpts.get(key)).getOptionDefault() != null) {
String str = ((OptionSpec) userOpts.get(key)).getOptionDefault();
return str;
}
else {
return null;
}
}
else {
System.out.println("undefined variable");
}
return null;
}