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 ncoghlan
Recipients bethard, docs@python, ncoghlan
Date 2012-01-24.05:54:57
SpamBayes Score 0.00043116673
Marked as misclassified No
Message-id <1327384498.23.0.981832544617.issue13850@psf.upfronthosting.co.za>
In-reply-to
Content
With the current argparse docs, it's very hard to get a quick reminder of how to spell the various parameters for add_argument, and just what they do. This issue suggests adding a "Quick Reference" section for add_argument, with the following elements:

1. Summary table with a one line description of each parameter
2. Summary table with a one line description of each alternative for the "action" parameter (including noting which other parameters are potentially relevant, such as 'choices' and 'metavar' for 'store' and 'const' for 'store_const')
3. Summary table with a one line description of each alternative for the "nargs" parameter
History
Date User Action Args
2012-01-24 05:54:58ncoghlansetrecipients: + ncoghlan, bethard, docs@python
2012-01-24 05:54:58ncoghlansetmessageid: <1327384498.23.0.981832544617.issue13850@psf.upfronthosting.co.za>
2012-01-24 05:54:57ncoghlanlinkissue13850 messages
2012-01-24 05:54:57ncoghlancreate