R. David Murray added the comment: It is both documented (http://docs.python.org/dev/library/argparse.html#argument-abbreviations) and an important feature.
I thought there was an enhancement request in this tracker for making the behavior optional, but I couldn't find it when I looked, so I'm turning this into one. If someone finds that there is already another issue this one can be closed as a dup. I'm marking it low priority, though, because I think most people want the ability to abbreviate the option names. ---------- keywords: +easy nosy: +bethard, r.david.murray priority: normal -> low stage: -> needs patch title: argparse accepts partial parameters -> argparse should have an option to require un-abbreviated option names type: -> enhancement versions: +Python 3.4 -Python 2.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16614> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com