/openbmc/linux/tools/net/ynl/ |
H A D | ethtool.py | 4 import argparse 123 parser = argparse.ArgumentParser(description='ethtool wannabe') 124 parser.add_argument('--json', action=argparse.BooleanOptionalAction) 125 parser.add_argument('--show-priv-flags', action=argparse.BooleanOptionalAction) 126 parser.add_argument('--set-priv-flags', action=argparse.BooleanOptionalAction) 127 parser.add_argument('--show-eee', action=argparse.BooleanOptionalAction) 128 parser.add_argument('--set-eee', action=argparse.BooleanOptionalAction) 129 parser.add_argument('-a', '--show-pause', action=argparse.BooleanOptionalAction) 130 parser.add_argument('-A', '--set-pause', action=argparse.BooleanOptionalAction) 131 parser.add_argument('-c', '--show-coalesce', action=argparse.BooleanOptionalAction) [all …]
|
/openbmc/qemu/python/qemu/utils/ |
H A D | qom.py | 33 import argparse 71 def configure_parser(cls, parser: argparse.ArgumentParser) -> None: 81 def __init__(self, args: argparse.Namespace): 118 def configure_parser(cls, parser: argparse.ArgumentParser) -> None: 122 def __init__(self, args: argparse.Namespace): 166 def configure_parser(cls, parser: argparse.ArgumentParser) -> None: 175 def __init__(self, args: argparse.Namespace): 212 def configure_parser(cls, parser: argparse.ArgumentParser) -> None: 223 def __init__(self, args: argparse.Namespace): 254 parser = argparse.ArgumentParser(
|
H A D | qom_common.py | 18 import argparse 80 def __init__(self, args: argparse.Namespace): 100 def configure_parser(cls, parser: argparse.ArgumentParser) -> None: 118 def add_path_prop_arg(cls, parser: argparse.ArgumentParser) -> None: 151 args: argparse.Namespace 172 parser = argparse.ArgumentParser(description=cls.help)
|
/openbmc/qemu/scripts/ |
H A D | qemu-trace-stap | 21 import argparse 119 parser = argparse.ArgumentParser(description="QEMU SystemTap trace tool") 128 formatter_class=argparse.RawDescriptionHelpFormatter, 144 nargs=argparse.REMAINDER) 147 formatter_class=argparse.RawDescriptionHelpFormatter, 161 nargs=argparse.REMAINDER)
|
/openbmc/linux/tools/hv/ |
H A D | vmbus_testing | 18 import argparse 20 from argparse import RawDescriptionHelpFormatter 21 from argparse import RawTextHelpFormatter 272 parser = argparse.ArgumentParser(prog = "vmbus_testing",usage ="\n" 294 path_parser = argparse.ArgumentParser(add_help=False) 298 state_parser = argparse.ArgumentParser(add_help=False) 368 raise argparse.ArgumentTypeError(str(err)) 372 raise argparse.ArgumentTypeError(message)
|
/openbmc/qemu/scripts/codeconverter/ |
H A D | converter.py | 13 import argparse 29 def process_all_files(parser: argparse.ArgumentParser, args: argparse.Namespace) -> None: 90 p = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter)
|
/openbmc/linux/tools/verification/dot2/ |
H A D | dot2k | 13 import argparse 19 import argparse 21 parser = argparse.ArgumentParser(description='transform .dot file into kernel rv monitor')
|
H A D | dot2c | 18 import argparse 21 parser = argparse.ArgumentParser(description='dot2c: converts a .dot file into a C structure')
|
/openbmc/openbmc/poky/scripts/lib/ |
H A D | argparse_oe.py | 8 import argparse 17 class ArgumentParser(argparse.ArgumentParser): 79 if action.dest == argparse.SUPPRESS: 93 if isinstance(action, argparse._SubParsersAction): 140 class OeHelpFormatter(argparse.HelpFormatter): 180 raise argparse.ArgumentTypeError(
|
/openbmc/openbmc-tools/tof-voters/libvoters/subcmd/ |
H A D | dump-gerrit.py | 3 import argparse 11 def __init__(self, parser: argparse._SubParsersAction) -> None: 29 def run(self, args: argparse.Namespace) -> int:
|
H A D | report.py | 3 import argparse 9 def __init__(self, parser: argparse._SubParsersAction) -> None: 14 def run(self, args: argparse.Namespace) -> int:
|
H A D | analyze-commits.py | 3 import argparse 16 def __init__(self, parser: argparse._SubParsersAction) -> None: 36 def run(self, args: argparse.Namespace) -> int:
|
/openbmc/linux/tools/testing/kunit/ |
H A D | kunit.py | 10 import argparse 308 def add_common_opts(parser: argparse.ArgumentParser) -> None: 359 def add_build_opts(parser: argparse.ArgumentParser) -> None: 365 def add_exec_opts(parser: argparse.ArgumentParser) -> None: 406 def add_parse_opts(parser: argparse.ArgumentParser) -> None: 418 def tree_from_args(cli_args: argparse.Namespace) -> kunit_kernel.LinuxSourceTree: 441 def run_handler(cli_args: argparse.Namespace) -> None: 464 def config_handler(cli_args: argparse.Namespace) -> None: 480 def build_handler(cli_args: argparse.Namespace) -> None: 493 def exec_handler(cli_args: argparse.Namespace) -> None: [all …]
|
/openbmc/openbmc/meta-openembedded/meta-python/recipes-devtools/python/ |
H A D | python3-argh_0.31.3.bb | 1 SUMMARY = "An unobtrusive argparse wrapper with natural syntax" 3 'argh!' while struggling with the API of argparse? Don't like the complexity \ 10 Argh is a smart wrapper for argparse. Argparse is a very powerful \
|
/openbmc/qemu/scripts/simplebench/ |
H A D | bench-backup.py | 21 import argparse 166 class ExtendAction(argparse.Action): 174 p = argparse.ArgumentParser('Backup benchmark', epilog=''' 184 formatter_class=argparse.RawTextHelpFormatter) 220 p.add_argument('--initial-run', action=argparse.BooleanOptionalAction,
|
/openbmc/openbmc-build-scripts/scripts/ |
H A D | generate-html-index.py | 9 import argparse 103 parser = argparse.ArgumentParser( 109 formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
/openbmc/bmcweb/scripts/ |
H A D | websocket_test.py | 6 import argparse 14 parser = argparse.ArgumentParser() 21 "--ssl", default=True, action=argparse.BooleanOptionalAction
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/trusted-firmware-a/files/tc/ |
H A D | generate_metadata.py | 6 import argparse 46 parser = argparse.ArgumentParser() 61 …raise argparse.ArgumentError(None, 'Arguments img_type_uuids and location_uuids must have the same…
|
/openbmc/openbmc/poky/scripts/ |
H A D | wic | 22 import argparse 88 class RootfsArgAction(argparse.Action): 384 raise argparse.ArgumentTypeError(err) 397 raise argparse.ArgumentTypeError("partition number is not specified") 429 raise argparse.ArgumentTypeError("Incorrect rule format: %s" % rule) 432 raise argparse.ArgumentTypeError("Rule '%s': partition number must be integer" % rule) 442 raise argparse.ArgumentTypeError("Rule '%s': size must be integer" % rule) 508 class WicArgumentParser(argparse.ArgumentParser): 540 raise argparse.ArgumentTypeError("no image or partition number specified.")
|
/openbmc/openbmc/poky/scripts/esdk-tools/ |
H A D | wic | 22 import argparse 88 class RootfsArgAction(argparse.Action): 384 raise argparse.ArgumentTypeError(err) 397 raise argparse.ArgumentTypeError("partition number is not specified") 429 raise argparse.ArgumentTypeError("Incorrect rule format: %s" % rule) 432 raise argparse.ArgumentTypeError("Rule '%s': partition number must be integer" % rule) 442 raise argparse.ArgumentTypeError("Rule '%s': size must be integer" % rule) 508 class WicArgumentParser(argparse.ArgumentParser): 540 raise argparse.ArgumentTypeError("no image or partition number specified.")
|
/openbmc/qemu/scripts/performance/ |
H A D | topN_perf.py | 34 import argparse 41 parser = argparse.ArgumentParser( 49 parser.add_argument('command', type=str, nargs='+', help=argparse.SUPPRESS)
|
H A D | topN_callgrind.py | 34 import argparse 41 parser = argparse.ArgumentParser( 49 parser.add_argument('command', type=str, nargs='+', help=argparse.SUPPRESS)
|
/openbmc/openbmc/poky/bitbake/bin/ |
H A D | bitbake-prserv | 10 import argparse 32 parser = argparse.ArgumentParser( 34 formatter_class=argparse.RawTextHelpFormatter)
|
/openbmc/openbmc-test-automation/templates/ |
H A D | python_pgm_template | 7 parser = argparse.ArgumentParser( 10 formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
/openbmc/openbmc/poky/meta-selftest/lib/devtool/ |
H A D | test.py | 1 import argparse 9 formatter_class=argparse.ArgumentDefaultsHelpFormatter)
|