code: public boolean hasOption(final String optionName) {
          if (optionName.length() == 1) {
              return hasOption(optionName.charAt(0));
          }
          return commandLine.hasOption("--" + optionName);
      }
docs: Returns <code>true</code> if the option is present.
  
  @param optionName
  The option name
  
  @return <code>true</code> if the option is present * @see it.jnrpe.ICommandLine#hasOption(String)