Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Give Option.show_default higher priority wrt Context.show_default #1963

Closed
janluke opened this issue Jun 18, 2021 · 0 comments · Fixed by #1964
Closed

Give Option.show_default higher priority wrt Context.show_default #1963

janluke opened this issue Jun 18, 2021 · 0 comments · Fixed by #1964
Milestone

Comments

@janluke
Copy link
Contributor

janluke commented Jun 18, 2021

Currently, Context.show_default (a global setting) overrides Option.show_default (a local setting). This is counterintuitive and limit expressiveness: once Context.show_default is set to True, it's impossible to disable show_default for a specific option.

@pallets pallets deleted a comment from pbeza Jun 22, 2021
@davidism davidism added this to the 8.1.0 milestone Jul 4, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 7, 2022
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants