Closed rggjan closed 2 years ago
Hi @rggjan , interesting issue, thanks for posting!
This might have to to do with how the ArgumentDefaultsHelpFormatter
from argparse works, or maybe I'm doing something wrong in one of these places:
I'll setup a quick test for this and get back to you! Thanks again for posting!
Reopening this, the fix doesn't work seem to work anymore for python 3.9.12 and above.
This example:
outputs:
Why is the default value displayed for
foo
, but not forbar
? Even when no description comment is given, it would be useful to know the default value set, I would think?