[issue28609] argparse claims '*' positional argument is required in error output

Irit Katriel report at bugs.python.org
Fri Dec 10 12:07:21 EST 2021


Irit Katriel <iritkatriel at gmail.com> added the comment:

Reproduced on 3.11.

>>> parser.parse_args([])
usage: [-h] [-V] COMMAND [ARGUMENT ...]
: error: the following arguments are required: COMMAND, ARGUMENT

----------
nosy: +iritkatriel
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue28609>
_______________________________________


More information about the Python-bugs-list mailing list