Open nacitar opened 2 years ago
Hey there @nacitar , sorry for replying earlier.
This is a cute, crunchy little bug. I really like those.
For anyone that wants to help out, this is what I'm thinking:
formatter_class
argument of simple_parsing.ArgumentParser
): the SimpleHelpFormatter.What I suggest trying:
argparse.ArgumentDefaultsHelpFormatter
. Check if the problem persists.
formatter_class
I think).
help
argument to add_arguments
of argparse, probably in the FieldWrapper
in simple_parsing.
Describe the bug When help text is added to a field that does not have a default value, the help text indicates a default value of None when it should not.
To Reproduce
Expected behavior I expected no default to be indicated, as below:
Actual behavior A default is indicated even though there is no default because the parameter is simply required.
Desktop (please complete the following information):