checkParams(errors);
}
}
private void outputInfo() {
CommandLineParser parser = getCommandLineParser();
if (commandDocument.hasParameter("help")) {
try {
System.out.println(name + " " + getUsage());
System.out.println();
System.out.println("Options: ");
System.out.println();
System.out.println(parser.getFormattedDetailedUsage());
String toolUsage = parser.getToolUsage();
if (toolUsage != null) {
System.out.println(toolUsage);
}
} catch (Exception ex) {
System.err.println("Error: Could not output detailed usage");