CommandLine cmd = commands.get(len - 1).commandLine;
CommandInfo cmdInfo = cmd.getCommandInfo(shell);
if (cmdInfo != null) {
try {
Help help = HelpFactory.getHelpFactory().getHelp(cmd.getCommandName(), cmdInfo);
help.usage(pw);
return true;
} catch (HelpException ex) {
LOG.info("Unexpected error while getting help for alias / class '" +
cmd.getCommandName() + "': " + ex.getMessage(), ex);
}