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 paul.j3
Recipients ThatXliner, paul.j3, rhettinger
Date 2020-10-14.18:23:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602699814.01.0.293181090874.issue42023@roundup.psfhosted.org>
In-reply-to
Content
That method could be customized in a HelpFormatter subclass.  There already are several subclasses (documented), and writing your own is allowed, if not actually encouraged.

https://docs.python.org/3/library/argparse.html#formatter-class

Adding an extra parameter to 'add_argument', and passing that on through the Action class (and subclasses) is, potentially, a bigger task.  

So if you can get by with just customizing _format_action_invocation, there's no need for further action here.

I'll look for some examples, here or on SO, of customizing this method.
History
Date User Action Args
2020-10-14 18:23:34paul.j3setrecipients: + paul.j3, rhettinger, ThatXliner
2020-10-14 18:23:34paul.j3setmessageid: <1602699814.01.0.293181090874.issue42023@roundup.psfhosted.org>
2020-10-14 18:23:34paul.j3linkissue42023 messages
2020-10-14 18:23:33paul.j3create