Skip to content
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

option_defaults not propagated to new option groups #437

Closed
phlptp opened this issue Feb 28, 2020 · 1 comment · Fixed by #450
Closed

option_defaults not propagated to new option groups #437

phlptp opened this issue Feb 28, 2020 · 1 comment · Fixed by #450

Comments

@phlptp
Copy link
Collaborator

phlptp commented Feb 28, 2020

Modifications to the option_defaults in the main app are not propagated to option_groups or subcommands that are subsequently created.

This created a little confusion as to why a certain option wasn't working like was expected.

I was expecting the option_default used in a main app to also be used in option_group. The fact that they were not led to some errors.

Easy to fix in my program, but should probably be addressed in the library.

@phlptp
Copy link
Collaborator Author

phlptp commented Feb 28, 2020

I will make a PR to fix this soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant