Message142518
| 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: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 |
|