We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
show_default
The behavior of click.Option("--name", default="default", show_default="show_default", prompt=True) is different for the help text and for the prompt.
click.Option("--name", default="default", show_default="show_default", prompt=True)
Help: 👍
Usage: foo.py [OPTIONS] Options: --name TEXT [default: (show_default)] --help Show this message and exit.
Prompt: 👎
Name [default]:
Ideally, this would also show the show_default:
Name [show_default]:
Environment:
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
The behavior of
click.Option("--name", default="default", show_default="show_default", prompt=True)
is different for the help text and for the prompt.Help: 👍
Prompt: 👎
Ideally, this would also show the
show_default
:Environment:
The text was updated successfully, but these errors were encountered: