This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chriz
Recipients bethard, chriz, eric.araujo, ned.deily, pwil3058
Date 2011-08-20.08:49:55
SpamBayes Score 0.0023732106
Marked as misclassified No
Message-id <1313830196.85.0.96288261124.issue12713@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-08-20 08:49:56chrizsetrecipients: + chriz, bethard, ned.deily, eric.araujo, pwil3058
2011-08-20 08:49:56chrizsetmessageid: <1313830196.85.0.96288261124.issue12713@psf.upfronthosting.co.za>
2011-08-20 08:49:56chrizlinkissue12713 messages
2011-08-20 08:49:56chrizcreate