Message142518
I attached a patch against argparse.py from Python 2.7.1.
Subcommmands can now be abbreviated as long as they are unambiguous.
Otherwise an error message 'ambigous choice' will be thrown (like the 'invalid choice' one).
(It's my first patch, so hopefully I did it right.)
BTW: Éric mentioned aliases for argparse.
For that I have done a patch too.
I'll try to find the appropriate issue number here to post it. |
|
Date |
User |
Action |
Args |
2011-08-20 08:49:56 | chriz | set | recipients:
+ chriz, bethard, ned.deily, eric.araujo, pwil3058 |
2011-08-20 08:49:56 | chriz | set | messageid: <1313830196.85.0.96288261124.issue12713@psf.upfronthosting.co.za> |
2011-08-20 08:49:56 | chriz | link | issue12713 messages |
2011-08-20 08:49:56 | chriz | create | |
|