code: private boolean collectOptions(final Options options, final String[] args)
              throws Exception {
          if (args != null && args.length > 0) {
              CommandLineParser parser = new PosixParser();
              CommandLine line = parser.parse(options, args);
              return processLine(line, options);
          }
          return true;
      }
docs: Take arguments received on the command line and setup corresponding
  options.
  <p/>
  No arguments is valid. It means use the defaults.
  
  @param options the expected options
  @param args the actual arguments received on the command line
  @return true if arguments were valid
  @throws Exception if something goes wrong while parsing arguments