diff --git a/base/java-tools/src/com/netscape/cmstools/cli/MainCLI.java b/base/java-tools/src/com/netscape/cmstools/cli/MainCLI.java index 711625a7c10..ac71b5b331a 100644 --- a/base/java-tools/src/com/netscape/cmstools/cli/MainCLI.java +++ b/base/java-tools/src/com/netscape/cmstools/cli/MainCLI.java @@ -139,23 +139,7 @@ public void printHelp() { formatter.printHelp(name + " [OPTIONS..] [ARGS..]", options); System.out.println(); - int leftPadding = 1; - int rightPadding = 25; - - System.out.println("Commands:"); - - for (CLI module : modules.values()) { - String label = module.getFullName(); - - int padding = rightPadding - leftPadding - label.length(); - if (padding < 1) - padding = 1; - - System.out.print(StringUtils.repeat(" ", leftPadding)); - System.out.print(label); - System.out.print(StringUtils.repeat(" ", padding)); - System.out.println(module.getDescription()); - } + super.printHelp(); } public void createOptions() throws UnknownHostException {