Searched refs:OptionParser (Results 1 – 25 of 67) sorted by relevance
123
/third_party/python/Doc/library/ |
D | optparse.rst | 22 :class:`OptionParser`, populate it with options, and parse the command 28 from optparse import OptionParser 30 parser = OptionParser() 252 First, you need to import the OptionParser class; then, early in the main 253 program, create an OptionParser instance:: 255 from optparse import OptionParser 257 parser = OptionParser() 277 The option strings passed to :meth:`OptionParser.add_option` are effectively 456 OptionParser, which you can call at any time before calling :meth:`parse_args`:: 475 usage message for your whole program. Here's an OptionParser populated with [all …]
|
/third_party/python/Lib/test/ |
D | test_optparse.py | 22 TitledHelpFormatter, OptionParser, OptionGroup, \ 40 class InterceptingOptionParser(OptionParser): 199 self.parser = OptionParser(usage=SUPPRESS_USAGE) 339 self.parser = OptionParser() 406 parser = OptionParser() 439 self.parser = OptionParser() 472 self.parser = OptionParser() 539 parser = OptionParser("%prog ...", version="%prog 1.2") 552 parser = OptionParser(prog="thingy", 565 self.parser = OptionParser(prog="test") [all …]
|
/third_party/ltp/testcases/network/nfsv4/acl/ |
D | create_users.py | 8 from optparse import OptionParser 10 parser = OptionParser()
|
D | setacl_stress.py | 9 from optparse import OptionParser 19 parser = OptionParser()
|
D | test_long_acl.py | 7 from optparse import OptionParser 38 parser = OptionParser()
|
D | cleangroups.py | 3 from optparse import OptionParser
|
D | cleanusers.py | 3 from optparse import OptionParser
|
/third_party/ltp/testcases/kernel/power_management/ |
D | pm_sched_domain.py | 9 from optparse import OptionParser 22 parser = OptionParser(usage)
|
D | pm_ilb_test.py | 8 from optparse import OptionParser 22 parser = OptionParser(usage)
|
D | pm_cpu_consolidation.py | 9 from optparse import OptionParser 23 parser = OptionParser(usage)
|
/third_party/skia/tools/ |
D | build_workaround_header.py | 10 from optparse import OptionParser 55 parser = OptionParser(usage=usage)
|
D | test_pdfs.py | 37 parser = optparse.OptionParser(USAGE_STRING % '%prog' + HELP_STRING)
|
D | add_codereview_message.py | 55 option_parser = optparse.OptionParser(usage=__doc__)
|
/third_party/vk-gl-cts/scripts/src_util/ |
D | check_boms.py | 26 from optparse import OptionParser 78 parser = OptionParser()
|
D | check_include_guards.py | 26 from optparse import OptionParser 114 parser = OptionParser()
|
/third_party/python/Lib/ |
D | cProfile.py | 135 from optparse import OptionParser 137 parser = OptionParser(usage=usage)
|
/third_party/skia/tools/android/ |
D | measure_fps.py | 47 parser = optparse.OptionParser()
|
/third_party/ltp/ |
D | execltp.in | 27 from optparse import OptionGroup, OptionParser 230 parser = OptionParser(prog=os.path.basename(sys.argv[0]),
|
/third_party/vk-gl-cts/scripts/ |
D | testset.py | 27 from optparse import OptionParser 235 parser = OptionParser(usage = "usage: %prog [options] [caselist] [result csv file]")
|
/third_party/skia/tools/svg/ |
D | svg_downloader.py | 43 option_parser = optparse.OptionParser()
|
/third_party/skia/third_party/externals/icu/scripts/ |
D | make_data_assembly.py | 11 parser = optparse.OptionParser()
|
/third_party/node/deps/v8/tools/generate_shim_headers/ |
D | generate_shim_headers.py | 45 parser = optparse.OptionParser()
|
/third_party/skia/tools/skottie-wasm-perf/ |
D | parse_perf_csvs.py | 99 option_parser = optparse.OptionParser()
|
/third_party/python/Lib/distutils/command/ |
D | check.py | 128 settings = frontend.OptionParser(components=(Parser,)).get_default_values()
|
/third_party/python/Tools/iobench/ |
D | iobench.py | 10 from optparse import OptionParser 421 parser = OptionParser(usage=usage)
|
123