private boolean parseAndPrimeWith( final Options options, final List<OptionHandler> optionHandlers, final String[] args) { final BootPrinter printer = new BootPrinter(getClass()); final CommandLineParser parser = new BasicParser(); try { final CommandLine commandLine = parser.parse(options, args); for (final OptionHandler optionHandler : optionHandlers) { if (!optionHandler.handle(commandLine, printer, options)) { return false; } } } catch (final ParseException e) { printer.printErrorMessage(e.getMessage()); printer.printHelp(options); return false; } return true; }