code: private void handleToken(String token) throws OptionParserException {
          currentToken = token;
          if (!"--".equals(token)) {
              if (currentOption != null && currentOption.acceptsValue() &&
                      !currentOption.isWithEqualSign() && isArgument(token)) {
                  String t = OptionUtils.stripLeadingAndTrailingQuotes(token);
                  currentOption.addValue(t);
              } else if (token.startsWith("--")) {
                  String t = OptionUtils.stripLeadingHyphens(token);
                  handleLongOption(t);
              } else if (token.startsWith("-") && token.length() > 1) {
                  String t = OptionUtils.stripLeadingHyphens(token);
                  handleShortAndLongOption(t);
              } else {
                  handleUnknownToken(token);
              }
          }
          if (currentOption != null && !currentOption.acceptsValue()) {
              currentOption = null;
          }
      }
docs: Handle any command line token.
  
  @param token the command line token to handle
  @throws OptionParserException if option parsing fails