protected void parseCommandLine(Object options) throws UnloggedFailure {
  final CmdLineParser clp=newCmdLineParser(options);
  try {
    clp.parseArgument(argv);
  }
 catch (  IllegalArgumentException|CmdLineException err) {
    if (!clp.wasHelpRequestedByOption()) {
      throw new UnloggedFailure(1,"fatal: " + err.getMessage());
    }
  }
  if (clp.wasHelpRequestedByOption()) {
    StringWriter msg=new StringWriter();
    clp.printDetailedUsage(commandName,msg);
    msg.write(usage());
    throw new UnloggedFailure(1,msg.toString());
  }
}

protected void parseCommandLine ( Object options ) throws UnloggedFailure { final CmdLineParser clp = newCmdLineParser ( options ) ; try { clp . parseArgument ( argv ) ; } catch ( IllegalArgumentException | CmdLineException err ) { if ( ! clp . wasHelpRequestedByOption ( ) ) { throw new UnloggedFailure ( 1 , "fatal: " + err . getMessage ( ) ) ; } } if ( clp . wasHelpRequestedByOption ( ) ) { StringWriter msg = new StringWriter ( ) ; clp . printDetailedUsage ( commandName , msg ) ; msg . write ( usage ( ) ) ; throw new UnloggedFailure ( 1 , msg . toString ( ) ) ; } }
parses the command line argument , injecting parsed values into fields . < p > this method must be explicitly invoked to cause a parse .
