Home
last modified time | relevance | path

Searched refs:OptionParser (Results 1 – 25 of 67) sorted by relevance

123

/third_party/python/Doc/library/
Doptparse.rst22 :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/
Dtest_optparse.py22 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/
Dcreate_users.py8 from optparse import OptionParser
10 parser = OptionParser()
Dsetacl_stress.py9 from optparse import OptionParser
19 parser = OptionParser()
Dtest_long_acl.py7 from optparse import OptionParser
38 parser = OptionParser()
Dcleangroups.py3 from optparse import OptionParser
Dcleanusers.py3 from optparse import OptionParser
/third_party/ltp/testcases/kernel/power_management/
Dpm_sched_domain.py9 from optparse import OptionParser
22 parser = OptionParser(usage)
Dpm_ilb_test.py8 from optparse import OptionParser
22 parser = OptionParser(usage)
Dpm_cpu_consolidation.py9 from optparse import OptionParser
23 parser = OptionParser(usage)
/third_party/skia/tools/
Dbuild_workaround_header.py10 from optparse import OptionParser
55 parser = OptionParser(usage=usage)
Dtest_pdfs.py37 parser = optparse.OptionParser(USAGE_STRING % '%prog' + HELP_STRING)
Dadd_codereview_message.py55 option_parser = optparse.OptionParser(usage=__doc__)
/third_party/vk-gl-cts/scripts/src_util/
Dcheck_boms.py26 from optparse import OptionParser
78 parser = OptionParser()
Dcheck_include_guards.py26 from optparse import OptionParser
114 parser = OptionParser()
/third_party/python/Lib/
DcProfile.py135 from optparse import OptionParser
137 parser = OptionParser(usage=usage)
/third_party/skia/tools/android/
Dmeasure_fps.py47 parser = optparse.OptionParser()
/third_party/ltp/
Dexecltp.in27 from optparse import OptionGroup, OptionParser
230 parser = OptionParser(prog=os.path.basename(sys.argv[0]),
/third_party/vk-gl-cts/scripts/
Dtestset.py27 from optparse import OptionParser
235 parser = OptionParser(usage = "usage: %prog [options] [caselist] [result csv file]")
/third_party/skia/tools/svg/
Dsvg_downloader.py43 option_parser = optparse.OptionParser()
/third_party/skia/third_party/externals/icu/scripts/
Dmake_data_assembly.py11 parser = optparse.OptionParser()
/third_party/node/deps/v8/tools/generate_shim_headers/
Dgenerate_shim_headers.py45 parser = optparse.OptionParser()
/third_party/skia/tools/skottie-wasm-perf/
Dparse_perf_csvs.py99 option_parser = optparse.OptionParser()
/third_party/python/Lib/distutils/command/
Dcheck.py128 settings = frontend.OptionParser(components=(Parser,)).get_default_values()
/third_party/python/Tools/iobench/
Diobench.py10 from optparse import OptionParser
421 parser = OptionParser(usage=usage)

123