-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
help not resolving automatically #2819
Labels
Comments
I have been looking into this and have thought of two solutions for this issue:
I would like to contribute to this issue. How can I help? |
Great! You verify that you can replicate error and write a test that captures this failure. |
I was able to replicate the errors. I ran 3 tests that capture the errors successfully. I have a created a PR. #2859 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From the docs:
The help parameter is implemented in Click in a very special manner. Unlike regular parameters it’s automatically added by Click for any command and it performs automatic conflict resolution. By default it’s called --help, but this can be changed. If a command itself implements a parameter with the same name, the default help parameter stops accepting it. There is a context setting that can be used to override the names of the help parameters called help_option_names.
What is wrong:
Help does not automatically resolve if there is an arg or kwarg called help. In the sample the file is called help.py
The text was updated successfully, but these errors were encountered: