You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ # This is expected
$ ./cli.pyb
$ # This is not (default should be b)
$ ./cli.py --helpUsage: cli.py [OPTIONS]Options: -a TEXT [default: c] --help Show this message and exit. [default: False]
Expected Behavior
I expect the default shown to be identical to the one being used.
Actual Behavior
The default shown was the value provided as default, without taking the default_map into account
Environment
Python version: 3.7
Click version: click==7.1.2
The text was updated successfully, but these errors were encountered:
I may be able to make a failing test or a PR if you point me to the right direction. Would calling lookup_default instead of .default in this line be enough ?
Ok, I'll try to remember to communicate here whether it happens or not. If I have neither said nor committed anything by May 17th, assume I have forgotten about it and you're free to go :)
Expected Behavior
I expect the default shown to be identical to the one being used.
Actual Behavior
The default shown was the value provided as
default
, without taking thedefault_map
into accountEnvironment
click==7.1.2
The text was updated successfully, but these errors were encountered: