if (filePath == null) { System.err.println("Please specify the path with -policyFile.\nUsage: " + getLongUsage()); return 1; System.err.println(getName() + ": Too many arguments"); return 1;
@Override public String getShortUsage() { return "[" + getName() + " -policyFile <file>]\n"; }
@Override public String getLongUsage() { final TableListing listing = AdminHelper.getOptionDescriptionListing(); listing.addRow("<file>", "The path of the xml file which defines the EC policies to add"); return getShortUsage() + "\n" + "Add a list of user defined erasure coding policies.\n" + listing.toString(); }