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 Tom.Browder, bethard
Date 2010年08月27日.14:27:25
SpamBayes Score 2.817302e-12
Marked as misclassified No
Message-id <1282919246.56.0.777927713394.issue9652@psf.upfronthosting.co.za>
In-reply-to
Content
Looks like "usage" is almost always lowercase in the programs I tried (ssh, svn, cat, etc.). So it probably wouldn't be a good idea to change the default. Seems like both this and issue 9694 need a better way to customize the text in argparse mesages.
As a temporary workaround for the group names, you can try:
parser._optionals.title = "Optional arguments"
parser._positionals.title = "Positional arguments"
I can't guarantee this will continue to work since it relies on internal details but at least it would work for the time being.
History
Date User Action Args
2010年08月27日 14:27:26bethardsetrecipients: + bethard, Tom.Browder
2010年08月27日 14:27:26bethardsetmessageid: <1282919246.56.0.777927713394.issue9652@psf.upfronthosting.co.za>
2010年08月27日 14:27:25bethardlinkissue9652 messages
2010年08月27日 14:27:25bethardcreate

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