[issue39779] [argparse] Add parameter to sort help output arguments

brian.gallagher report at bugs.python.org
Fri Feb 28 04:25:30 EST 2020


brian.gallagher <oss.brnglr at gmail.com> added the comment:

That makes sense. For what it's worth, the use-case that inspired this was for commands with a lot of optional arguments in a company where a large amount of contributors (who may not be aware of an effort to order the arguments in the source code) were able to make changes to the command.

I understand that isn't a particularly compelling reason though, as it can be addressed by other means -- increasing diligence at the code review stage, commit hooks, testing, etc.

Thanks for taking a look Raymond.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39779>
_______________________________________


More information about the Python-bugs-list mailing list