def print_subcommands(self):
        if not self.subcommands:
            return
        
        lines = ["Subcommands"]
        lines.append('-'*len(lines[0]))
        lines.append('')
        for p in wrap_paragraphs(self.subcommand_description):
            lines.append(p)
            lines.append('')
        for subc, (cls, help) in self.subcommands.items():
            lines.append(subc)
            if help:
                lines.append(indent(dedent(help.strip())))
        lines.append('')
        print(os.linesep.join(lines))
Print the subcommand part of the help.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/config/application.py/Application.print_subcommands