docs: public static boolean getFlag(String flag, String[] options) 
      throws Exception {
      
      int pos = getOptionPos(flag, options);
  
      if (pos > -1)
        options[pos] = "";
      
      return (pos > -1);
    }