printHelpAndExit(true); } else if (arg.equalsIgnoreCase("-n") || arg.equalsIgnoreCase("--noaction")) { doAction = false; printHelpAndExit(false); printHelpAndExit(false); } else { System.err.println("ERROR: --properties option must be followed by a file path"); printHelpAndExit(false); printHelpAndExit(false); printHelpAndExit(false); System.err.println("ERROR: Report Level setting \"reportlevel\" must have one of the values " + "0 (no reporting), 1 (actions only), 2 (differences only), 3 (DEFAULT - all reporting)"); printHelpAndExit(false); printHelpAndExit(false); printHelpAndExit(false); if (!credentialsFile.canRead()) { System.err.println("ERROR: Cannot read credentials file '" + credentialsFile + "'"); printHelpAndExit(false); printHelpAndExit(false);
printHelpAndExit(true); } else if (arg.equalsIgnoreCase("-n") || arg.equalsIgnoreCase("--noaction")) { doAction = false; printHelpAndExit(false); printHelpAndExit(false); } else { System.err.println("ERROR: --properties option must be followed by a file path"); printHelpAndExit(false); printHelpAndExit(false); printHelpAndExit(false); System.err.println("ERROR: Report Level setting \"reportlevel\" must have one of the values " + "0 (no reporting), 1 (actions only), 2 (differences only), 3 (DEFAULT - all reporting)"); printHelpAndExit(false); printHelpAndExit(false); printHelpAndExit(false); if (!credentialsFile.canRead()) { System.err.println("ERROR: Cannot read credentials file '" + credentialsFile + "'"); printHelpAndExit(false); printHelpAndExit(false);