public String get_option()

in src/com/vmware/vim25/mo/util/CommandLineParser.java [363:390]


   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;   
   }