Home
last modified time | relevance | path

Searched refs:store_true (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython2/Doc/howto/
Dargparse.rst277 action="store_true")
303 ``"store_true"``. This means that, if the option is specified,
323 action="store_true")
353 parser.add_argument("-v", "--verbose", action="store_true",
500 * Yes, it's now more of a flag (similar to ``action="store_true"``) in the
503 * It also behaves similar to "store_true" action.
508 * And, just like the "store_true" action, if you don't specify the ``-v`` flag,
682 group.add_argument("-v", "--verbose", action="store_true")
683 group.add_argument("-q", "--quiet", action="store_true")
725 group.add_argument("-v", "--verbose", action="store_true")
[all …]
/external/python/cpython3/Doc/howto/
Dargparse.rst275 action="store_true")
301 ``"store_true"``. This means that, if the option is specified,
321 action="store_true")
351 parser.add_argument("-v", "--verbose", action="store_true",
498 * Yes, it's now more of a flag (similar to ``action="store_true"``) in the
501 * It also behaves similar to "store_true" action.
681 group.add_argument("-v", "--verbose", action="store_true")
682 group.add_argument("-q", "--quiet", action="store_true")
724 group.add_argument("-v", "--verbose", action="store_true")
725 group.add_argument("-q", "--quiet", action="store_true")
/external/python/cpython3/Doc/library/
Dvenv.rst427 action='store_true', dest='nodist',
431 action='store_true', dest='nopip',
435 action='store_true', dest='system_site',
443 action='store_true', dest='symlinks',
447 parser.add_argument('--clear', default=False, action='store_true',
453 parser.add_argument('--upgrade', default=False, action='store_true',
460 parser.add_argument('--verbose', default=False, action='store_true',
Dpty.rst99 parser.add_argument('-a', dest='append', action='store_true')
100 parser.add_argument('-p', dest='use_python', action='store_true')
Doptparse.rst384 ``store_true`` and ``store_false``. For example, you might have a ``verbose``
387 parser.add_option("-v", action="store_true", dest="verbose")
437 parser.add_option("-v", action="store_true", dest="verbose", default=True)
444 parser.add_option("-v", action="store_true", dest="verbose")
449 parser.add_option("-v", action="store_true", dest="verbose", default=False)
481 action="store_true", dest="verbose", default=True,
588 group.add_option("-g", action="store_true", help="Group option.")
618 group.add_option("-g", action="store_true", help="Group option.")
622 group.add_option("-d", "--debug", action="store_true",
624 group.add_option("-s", "--sql", action="store_true",
[all …]
Dargparse.rst560 >>> parser.add_argument('--foobar', action='store_true')
776 * ``'store_true'`` and ``'store_false'`` - These are special cases of
782 >>> parser.add_argument('--foo', action='store_true')
1184 >>> parser.add_argument('--foo', action='store_true',
1431 >>> parser.add_argument('-x', action='store_true')
1432 >>> parser.add_argument('-y', action='store_true')
1652 >>> parser.add_argument('--foo', action='store_true', help='foo help')
1894 >>> group.add_argument('--foo', action='store_true')
1910 >>> group.add_argument('--foo', action='store_true')
2010 >>> parser.add_argument('--foo', action='store_true')
Dgetopt.rst155 parser.add_argument('-v', dest='verbose', action='store_true')
/external/python/cpython2/Doc/library/
Doptparse.rst385 ``store_true`` and ``store_false``. For example, you might have a ``verbose``
388 parser.add_option("-v", action="store_true", dest="verbose")
438 parser.add_option("-v", action="store_true", dest="verbose", default=True)
445 parser.add_option("-v", action="store_true", dest="verbose")
450 parser.add_option("-v", action="store_true", dest="verbose", default=False)
482 action="store_true", dest="verbose", default=True,
590 group.add_option("-g", action="store_true", help="Group option.")
620 group.add_option("-g", action="store_true", help="Group option.")
624 group.add_option("-d", "--debug", action="store_true",
626 group.add_option("-s", "--sql", action="store_true",
[all …]
Ddifflib.rst736 parser.add_option("-c", action="store_true", default=False,
738 parser.add_option("-u", action="store_true", default=False,
741 parser.add_option("-m", action="store_true", default=False, help=hlp)
742 parser.add_option("-n", action="store_true", default=False,
Dargparse.rst698 * ``'store_true'`` and ``'store_false'`` - These are special cases of
704 >>> parser.add_argument('--foo', action='store_true')
1080 >>> parser.add_argument('--foo', action='store_true',
1319 >>> parser.add_argument('-x', action='store_true')
1320 >>> parser.add_argument('-y', action='store_true')
1536 >>> parser.add_argument('--foo', action='store_true', help='foo help')
1760 >>> group.add_argument('--foo', action='store_true')
1776 >>> group.add_argument('--foo', action='store_true')
1876 >>> parser.add_argument('--foo', action='store_true')
Dgetopt.rst160 parser.add_argument('-v', dest='verbose', action='store_true')
/external/llvm-project/libc/benchmarks/
Drender.py3179 action="store_true")
/external/toolchain-utils/binary_search_tool/
DMAINTENANCE102 The first two are easy to implement (action='store_true'), but the last two
/external/pigweed/pw_presubmit/
Ddocs.rst227 action='store_true',
/external/bcc/src/lua/bcc/vendor/
Dargparse.lua354 function actions.store_true(result, target) function
/external/python/cpython3/Doc/whatsnew/
D3.2.rst157 parser_l.add_argument('-m', '--missiles', action='store_true')
158 parser_l.add_argument('-t', '--torpedos', action='store_true')
D2.7.rst377 parser.add_argument('-v', action='store_true', dest='is_verbose',
/external/python/cpython2/Doc/whatsnew/
D2.7.rst377 parser.add_argument('-v', action='store_true', dest='is_verbose',