Lines Matching refs:add_subparsers
1601 .. method:: ArgumentParser.add_subparsers([title], [description], [prog], \
1612 :meth:`add_subparsers` method. The :meth:`add_subparsers` method is normally
1653 >>> subparsers = parser.add_subparsers(help='sub-command help')
1712 The :meth:`add_subparsers` method also supports ``title`` and ``description``
1717 >>> subparsers = parser.add_subparsers(title='subcommands',
1738 >>> subparsers = parser.add_subparsers()
1745 of the :meth:`add_subparsers` method with calls to :meth:`set_defaults` so
1758 >>> subparsers = parser.add_subparsers()
1786 argument to the :meth:`add_subparsers` call will work::
1789 >>> subparsers = parser.add_subparsers(dest='subparser_name')
1947 parsers. See the :meth:`~ArgumentParser.add_subparsers` method for an