success = this.readPropertiesFromCommandLine(commandLine);
public final void start(final String[] args) { final Options options = new Options(); this.addDefaultOptions(options); this.addAdditionalOptions(options); final CommandLine commandLine = this.parseCommandLineArguments(options, args); boolean success; if (null != commandLine) { this.initializeLogger(commandLine); if (commandLine.hasOption(CMD_OPT_NAME_HELP_SHORT)) { this.printUsage(options); System.exit(0); } // Using && instead of & should make sure that performTask is not executed when the readPropertiesFromCommandLine method returns false success = this.readPropertiesFromCommandLine(commandLine); if (!success) { LOG.info("Use the option `--" + CMD_OPT_NAME_HELP_LONG + "` for usage information"); } else { success = this.performTask(); } } else { success = false; } LOG.info("See 'kieker.log' for details"); if (!success && this.useSystemExit) { System.exit(1); } }