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 remi.lapeyre
Recipients Jeremiah.Jordan, berker.peksag, bethard, eric.araujo, eric.smith, kenahoo, paul.j3, remi.lapeyre, vstinner, wolma
Date 2019-01-09.15:40:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1547048414.28.0.324742833871.issue8538@roundup.psfhosted.org>
In-reply-to
Content
I made a first proposal for this feature in PR 11478, I had to adapt argparse.Action to customize how the action is represented in the usage string by adding a format_usage() method that would default to the current behavior if not overridden.

Other methods to do this may be better but I did not find them.
History
Date User Action Args
2019-01-09 15:40:16remi.lapeyresetrecipients: + remi.lapeyre, bethard, vstinner, eric.smith, eric.araujo, Jeremiah.Jordan, berker.peksag, paul.j3, wolma, kenahoo
2019-01-09 15:40:14remi.lapeyresetmessageid: <1547048414.28.0.324742833871.issue8538@roundup.psfhosted.org>
2019-01-09 15:40:14remi.lapeyrelinkissue8538 messages
2019-01-09 15:40:14remi.lapeyrecreate