def _print_commands(settings):
    _print_header(settings)
    print "Usage:"
    print "    robotx <sub-command> [options] [args]\n"
    print "Available sub-commands:"
    cmds = _get_commands_dict(settings)
    for cmdname, cmdclass in sorted(cmds.iteritems()):
        print "    %-16s %s" % (cmdname, cmdclass.short_desc())
    print '\nUse "robotx <sub-command> -h" to see more info about sub-command'
As subject~
dataset/ETHPy150Open idumpling/robotx/robotx/core/__init__.py/_print_commands