docs: public void parse( CommandLine cli, String[] args ) throws InvalidOptionException, WrongOptionUsageException
      {
          List<String> tokens = CollectionUtil.toList( args );
          while (!tokens.isEmpty())
          {
              String token = CollectionUtil.shift( tokens );
              if (Pattern.compile( "(--.+)" ).matcher( token ).lookingAt())
              {
                  cli.getOptionWithLongForm( token ).consume( tokens );
              }
              else if (Pattern.compile( "(-.)" ).matcher( token ).lookingAt())
              {
                  cli.getOptionWithShortForm( token ).consume( tokens );
              }
              else
              {
                  cli.addArgument( token );
              }
          }
      }