Home
last modified time | relevance | path

Searched refs:subparser (Results 1 – 10 of 10) sorted by relevance

/external/autotest/site_utils/deployment/
Dcmdparse.py148 subparser = subcommands.add_parser(name, description=description)
149 _add_common_options(subparser)
150 _add_upload_option(subparser, upload_default)
151 subparser.add_argument('-b', '--board', metavar='BOARD',
153 subparser.add_argument('-m', '--model', metavar='MODEL',
155 subparser.add_argument('hostnames', nargs='*', metavar='HOSTNAME',
157 return subparser
166 subparser = _add_subcommand(
169 subparser.set_defaults(stageusb=True,
191 subparser = _add_subcommand(
[all …]
/external/autotest/server/site_tests/tast/testdata/
Dfake_tast.py90 def add_common_args(subparser): argument
92 subparser.add_argument('-build', type=to_bool, default=True, nargs='?')
93 subparser.add_argument('-buildbundle', default='cros')
94 subparser.add_argument('-checkbuilddeps', type=to_bool, default=True,
96 subparser.add_argument('-downloadprivatebundles', type=to_bool,
98 subparser.add_argument('-devservers')
99 subparser.add_argument('-remotebundledir')
100 subparser.add_argument('-remotedatadir')
101 subparser.add_argument('-remoterunner')
102 subparser.add_argument('-sshretries')
[all …]
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Ddatabase.py445 subparser = subparsers.add_parser(
450 subparser.set_defaults(handler=_handle_create)
451 subparser.add_argument(
456 subparser.add_argument(
463 subparser.add_argument('-f',
467 subparser.add_argument(
475 subparser.add_argument(
499 subparser.add_argument(
513 subparser = subparsers.add_parser(
520 subparser.set_defaults(handler=_handle_add)
[all …]
Ddetokenize.py484 subparser = subparsers.add_parser(
489 subparser.set_defaults(handler=_handle_base64)
490 subparser.add_argument(
497 subparser.add_argument(
503 subparser.add_argument('-o',
509 subparser.add_argument(
515 subparser.add_argument(
/external/fonttools/Lib/fontTools/ttLib/
Dwoff2.py1409 for choice, subparser in subparsers_action.choices.items():
1410 print(subparser.format_help())
1436 for subparser in (parser_compress, parser_decompress):
1437 group = subparser.add_mutually_exclusive_group(required=False)
/external/python/cpython3/Doc/library/
Dargparse.rst1629 subparser argument
1670 attributes for the main parser and the subparser that was selected by the
1676 Similarly, when a help message is requested from a subparser, only the help
1679 subparser command, however, can be given by supplying the ``help=`` argument
1713 keyword arguments. When either is present, the subparser's commands will
1734 which allows multiple strings to refer to the same subparser. This example,
1746 that each subparser knows which Python function it should execute. For
1785 to check the name of the subparser that was invoked, the ``dest`` keyword
/external/python/cpython2/Doc/library/
Dargparse.rst1516 subparser argument
1554 attributes for the main parser and the subparser that was selected by the
1560 Similarly, when a help message is requested from a subparser, only the help
1563 subparser command, however, can be given by supplying the ``help=`` argument
1597 keyword arguments. When either is present, the subparser's commands will
1620 that each subparser knows which Python function it should execute. For
1659 to check the name of the subparser that was invoked, the ``dest`` keyword
/external/python/cpython2/Misc/NEWS.d/
D2.7.9rc1.rst249 Defaults set with set_defaults on an argparse subparser are no longer
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a1.rst1726 Defaults set with set_defaults on an argparse subparser are no longer
/external/python/cpython3/Misc/
DHISTORY1185 - Issue #9351: Defaults set with set_defaults on an argparse subparser