-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pass custom HelpFormatter to subparsers #336
Comments
Looks like a simple fix. In line SimpleParsing/simple_parsing/wrappers/field_wrapper.py Lines 1021 to 1023 in 4388893
|
Hey @zrlf , nice catch! Would you like to make a PR? :) |
sure :) |
zrlf
added a commit
to zrlf/SimpleParsing
that referenced
this issue
Jan 30, 2025
lebrice
pushed a commit
to zrlf/SimpleParsing
that referenced
this issue
Jan 31, 2025
lebrice
added a commit
that referenced
this issue
Feb 3, 2025
* Pass custom help formatter to subparsers (#336) * Fix formatting in field_wrapper.py Signed-off-by: Fabrice Normandin <[email protected]> --------- Signed-off-by: Fabrice Normandin <[email protected]> Co-authored-by: Fabrice Normandin <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using a custom HelpFormatter, subparsers are still using the default
SimpleHelpFormatter
.To Reproduce
Expected behavior
Any subparser should inherit the formatter.
Actual behavior
Default is used
The text was updated successfully, but these errors were encountered: