0.13.0a6 fix in LetterSubparsers.add_verbose()
This commit is contained in:
parent
a3a58ac782
commit
f222ae8359
2 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ from .color import OKLabColor, chalk, WebColor, RGBColor, LinearRGBColor, \
|
|||
from .mat import Matrix
|
||||
from .argparse import LetterSubparsers
|
||||
|
||||
__version__ = "0.13.0a5"
|
||||
__version__ = "0.13.0a6"
|
||||
|
||||
__all__ = (
|
||||
'ColorFormatter',
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ class LetterSubparsers(object):
|
|||
|
||||
This allows the argument to be everywhere in the argv.
|
||||
"""
|
||||
self._parser.add_argument('-v', '--verbose', action='count', help=help)
|
||||
self._parser.add_argument('-v', '--verbose', action='count', default = 0, help=help)
|
||||
self._has_verbose = True
|
||||
|
||||
def action(self, /, letter: str, name: str | None = None, **kwargs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue