homepage

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 bethard
Recipients Amnon.Harel, bethard
Date 2012年07月21日.20:38:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342903139.86.0.4627512208.issue14504@psf.upfronthosting.co.za>
In-reply-to
Content
Special casing the formatting of 'store_const' makes me nervous because formatting is already complicated and it doesn't know anything about action types.
But feel free to propose a patch!
In the meantime:
- propagate the default to all the options
You can, of course, do this manually, by specifying default in each of them. And if you use formatter_class=ArgumentDefaultsHelpFormatter, you'll get the defaults in the usage message.
- group the keywords that have the same destination together (?)
- place the default option first (?)
You can achieve both of these by just adding the options in the order that you want them displayed.
History
Date User Action Args
2012年07月21日 20:39:00bethardsetrecipients: + bethard, Amnon.Harel
2012年07月21日 20:38:59bethardsetmessageid: <1342903139.86.0.4627512208.issue14504@psf.upfronthosting.co.za>
2012年07月21日 20:38:59bethardlinkissue14504 messages
2012年07月21日 20:38:58bethardcreate

AltStyle によって変換されたページ (->オリジナル) /