helpFormatter.setWidth(1000);
helpFormatter.printHelp("java " + ClusterExternalViewVerifier.class.getName(), cliOptions);
}
static void processCommandLineArgs(String[] cliArgs) {
CommandLineParser cliParser = new GnuParser();
Options cliOptions = constructCommandLineOptions();
CommandLine cmd = null;
try {
cmd = cliParser.parse(cliOptions, cliArgs);
} catch (ParseException pe) {
System.err.println("failed to parse command-line args: " + Arrays.asList(cliArgs)
+ ", exception: " + pe.toString());
printUsage(cliOptions);
System.exit(1);