paul j3 <ajipa...@gmail.com> added the comment:
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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42023> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com