Home
last modified time | relevance | path

Searched refs:optparse (Results 1 – 25 of 280) sorted by relevance

12345678910>>...12

/external/python/cpython2/Doc/library/
Doptparse.rst1 :mod:`optparse` --- Parser for command line options
4 .. module:: optparse
13 The :mod:`optparse` module is deprecated and will not be developed further;
16 **Source code:** :source:`Lib/optparse.py`
20 :mod:`optparse` is a more convenient, flexible, and powerful library for parsing
21 command-line options than the old :mod:`getopt` module. :mod:`optparse` uses a
24 line. :mod:`optparse` allows users to specify options in the conventional
27 Here's an example of using :mod:`optparse` in a simple script::
29 from optparse import OptionParser
45 As it parses the command line, :mod:`optparse` sets attributes of the
[all …]
/external/python/cpython3/Doc/library/
Doptparse.rst1 :mod:`optparse` --- Parser for command line options
4 .. module:: optparse
11 **Source code:** :source:`Lib/optparse.py`
14 The :mod:`optparse` module is deprecated and will not be developed further;
19 :mod:`optparse` is a more convenient, flexible, and powerful library for parsing
20 command-line options than the old :mod:`getopt` module. :mod:`optparse` uses a
23 line. :mod:`optparse` allows users to specify options in the conventional
26 Here's an example of using :mod:`optparse` in a simple script::
28 from optparse import OptionParser
44 As it parses the command line, :mod:`optparse` sets attributes of the
[all …]
/external/autotest/site_utils/bootperf-bin/
Dshowbootdata44 import optparse
61 optparser = optparse.OptionParser(usage=_USAGE, description=_DESCRIPTION)
63 optgroup = optparse.OptionGroup(
82 optgroup = optparse.OptionGroup(optparser, "Event selection")
89 optgroup = optparse.OptionGroup(
/external/chromium-trace/catapult/systrace/profile_chrome/
Dmain.py8 import optparse
31 parser = optparse.OptionParser(description='Record about://tracing profiles '
39 timed_options = optparse.OptionGroup(parser, 'Timed tracing')
45 cont_options = optparse.OptionGroup(parser, 'Continuous tracing')
Dflags.py5 import optparse
9 output_options = optparse.OptionGroup(parser, 'Output options')
/external/autotest/utils/
Dtko_publish.py11 import sys, os, re, optparse
17 options = optparse.Values()
94 parser = optparse.OptionParser(usage=USAGE)
Dreverify_repair_failed.py11 import optparse, os, sys
18 parser = optparse.OptionParser(usage='%prog [options]\n\n' +
/external/toolchain-utils/automation/clients/report/dejagnu/
Dmain.py9 import optparse
35 parser = optparse.OptionParser(
63 parser = optparse.OptionParser(
/external/v8/tools/
Dconcatenate-files.py38 import optparse
67 parser = optparse.OptionParser()
/external/skqp/tools/
Dtest_pdfs.py14 import optparse
37 parser = optparse.OptionParser(USAGE_STRING % '%prog' + HELP_STRING)
Dadd_codereview_message.py23 import optparse
55 option_parser = optparse.OptionParser(usage=__doc__)
/external/skia/tools/
Dtest_pdfs.py14 import optparse
37 parser = optparse.OptionParser(USAGE_STRING % '%prog' + HELP_STRING)
Dadd_codereview_message.py23 import optparse
55 option_parser = optparse.OptionParser(usage=__doc__)
/external/autotest/site_utils/
Dsuite_preprocessor.py11 import optparse, os, sys
17 parser = optparse.OptionParser()
Dset_tree_status.py13 import optparse
51 parser = optparse.OptionParser("%prog [options] quoted_message")
/external/autotest/cli/
Dchange_protection_level.py5 import sys, optparse, traceback, pwd, os
10 parser = optparse.OptionParser(usage=usage)
/external/swiftshader/third_party/llvm-7.0/llvm/utils/
Dindirect_calls.py17 import optparse
41 parser = optparse.OptionParser("%prog [options] <binary>")
/external/compiler-rt/lib/sanitizer_common/scripts/
Dlitlint.py10 import optparse
61 parser = optparse.OptionParser()
/external/autotest/tko/parsers/test/
Dexecute_parser.py5 import optparse, sys
11 parser = optparse.OptionParser(usage=usage)
Dinspect_parser_result_store.py8 import optparse, os, sys
15 parser = optparse.OptionParser(usage=usage)
/external/skia/tools/android/
Dmeasure_fps.py8 import optparse
45 parser = optparse.OptionParser()
/external/skqp/tools/android/
Dmeasure_fps.py8 import optparse
45 parser = optparse.OptionParser()
/external/skqp/tools/svg/
Dsvg_downloader.py9 import optparse
28 option_parser = optparse.OptionParser()
/external/skia/tools/svg/
Dsvg_downloader.py9 import optparse
28 option_parser = optparse.OptionParser()
/external/toolchain-utils/automation/clients/
Dnightly.py5 import optparse
15 parser = optparse.OptionParser()

12345678910>>...12