Message333325
| 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. |
|