code: public Option getOptionWithShortForm( String shortForm ) throws InvalidOptionException
      {
          for (Option option : options)
          {
              if (shortForm.equals( option.getShortForm() )) return option;
          }
  
          throw new InvalidOptionException( shortForm );
      }
docs: <p>getOptionWithShortForm.</p>
  
  @param shortForm a {@link java.lang.String} object.
  @return a {@link com.greenpepper.util.cli.Option} object.
  @throws com.greenpepper.util.cli.InvalidOptionException if any.