public void showDetailedHelp(CommandHelp commandHelp, HelpEntry entry) { CommandIssuer issuer = commandHelp.getIssuer(); // header printDetailedHelpHeader(commandHelp, issuer, entry); // normal help line printDetailedHelpCommand(commandHelp, issuer, entry); // additionally detailed help for params for (CommandParameter param : entry.getParameters()) { String description = param.getDescription(); if (description != null && !description.isEmpty()) { printDetailedParameter(commandHelp, issuer, entry, param); } } // footer printDetailedHelpFooter(commandHelp, issuer, entry); }