code: public String[] getCommandLine() {
          String[] argsAry = argsString != null ? split(argsString) : EMPTY_ARRAY;
          List<String> argsList = new ArrayList<String>();
  
          int startIndex = 0;
  
          for (CommandOption opt : optionsList) {
              String argName = opt.getName();
              String argValueString = opt.getValue();
  
              argsList.add((argName.length() == 1 ? "-" : "--") + argName);
  
              if (argValueString != null) {
                  argsList.add(quote(argValueString));
              }
          }
  
          String[] resAry = new String[argsAry.length + argsList.size()];
  
          for (String argString : argsList) {
              resAry[startIndex++] = argString;
          }
  
          // vsRes = new String[args.length + m_vArguments.size()];
          System.arraycopy(argsAry, 0, resAry, startIndex, argsAry.length);
  
          return resAry;
      }
docs: Merges the command line definition read from the server config file with.
  the values received from check_nrpe and produces a clean command line.
  
  
  @return a parsable command line or an empty array for empty command line.