[issue29298] argparse fails with required subparsers, un-named dest, and empty argv
Paulie Pena
report at bugs.python.org
Mon Jun 28 13:30:37 EDT 2021
Paulie Pena <paulie4 at gmail.com> added the comment:
I'd like to second this idea, since it's very confusing without it:
> while waiting for a fix, would it be possible to document in the argparse documentation that the 'dest' parameter is required (at least temporarily) for add_subparsers()? (somewhere near file:///usr/share/doc/python/html/library/argparse.html#sub-commands)
----------
nosy: +paulie4
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue29298>
_______________________________________
More information about the Python-bugs-list
mailing list