icegem-cache-utils/src/main/java/com/googlecode/icegem/cacheutils/Launcher.java
private static void parseCommandLineArguments(String[] commandLineArguments) {
	Options options = constructGnuOptions();

	CommandLineParser parser = new GnuParser();
	
	try {
	    CommandLine line = parser.parse(options, commandLineArguments);

	    if (line.hasOption(HELP_OPTION)) {
		printHelp(options);
	    }

	    if (line.hasOption(DEBUG_OPTION)) {
		debugEnabled = true;
	    }

	    if (!debugEnabled && line.hasOption(QUIET_OPTION)) {
		quiet = true;
	    }
	} catch (Throwable t) {
	    printHelp(options);
	}
    }
private static void parseCommandLineArguments(String[] commandLineArguments) {
	Options options = constructGnuOptions();

	CommandLineParser parser = new GnuParser();
	
	try {
	    CommandLine line = parser.parse(options, commandLineArguments);

	    if (line.hasOption(HELP_OPTION)) {
		printHelp(options);
	    }

	    if (line.hasOption(DEBUG_OPTION)) {
		debugEnabled = true;
	    }

	    if (!debugEnabled && line.hasOption(QUIET_OPTION)) {
		quiet = true;
	    }
	} catch (Throwable t) {
	    printHelp(options);
	}
    }
Parses command line arguments.

@param commandLineArguments
- The arguments.