code: private static CommandLine parseCommandLine(Options options, String[] args) throws ParseException {
          CommandLineParser parser = new GroovyInternalPosixParser();
          return parser.parse(options, args, true);
      }
docs: Parse the command line.
  
  @param options the options parser.
  @param args    the command line args.
  @return parsed command line.
  @throws ParseException if there was a problem.