Lines Matching refs:store_true
384 ``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",
626 group.add_option("-e", action="store_true", help="Print every action done")
775 action="store_true", dest="verbose")
930 ``"store_true"``
1136 * ``"store_true"`` [relevant: :attr:`~Option.dest`]
1143 Like ``"store_true"``, but stores ``False``.
1147 parser.add_option("--clobber", action="store_true", dest="clobber")
1249 parser.add_option("-v", action="store_true", dest="verbose",
1696 Of course, you could do that with the ``"store_true"`` action.
1713 parser.add_option("-b", action="store_true", dest="b")
1731 parser.add_option("-b", action="store_true", dest="b")