[issue10424] better error message from argparse when positionals missing

Steven Bethard report at bugs.python.org
Fri Nov 19 23:40:46 CET 2010

Steven Bethard <steven.bethard at gmail.com> added the comment:

No, it's exactly line 1925 that's the problem. The OP would like that to tell him which arguments were missing instead of saying just 'too few arguments'.

The block below that is for checking required optionals/positionals. It won't execute if the self.error above it happens.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list