private static void printHelp() { System.out.println("The most commonly used mqadmin commands are:"); for (SubCommand cmd : subCommandList) { System.out.printf(" %-20s %s\n", cmd.commandName(), cmd.commandDesc()); } System.out.println( "\nSee 'mqadmin help <command>' for more information on a specific command."); }