Skip to content

tests: sync expected error message for click 8.4.0#133

Open
stanislavlevin wants to merge 1 commit into
domdfcoding:masterfrom
stanislavlevin:issue_132
Open

tests: sync expected error message for click 8.4.0#133
stanislavlevin wants to merge 1 commit into
domdfcoding:masterfrom
stanislavlevin:issue_132

Conversation

@stanislavlevin
Copy link
Copy Markdown

click 8.4.0 changed the error hint message and prefers long option name over the short one.

https://github.com/pallets/click/releases/tag/8.4.0

The error hint now uses Command.get_help_option_names to pick
non-shadowed help option names, so Try '... -h' no longer points to a
subcommand option that shadows -h. All surviving names are shown
(-h/--help). #2790 #3208

Fixes: #132

`click` `8.4.0` changed the error hint message and prefers
long option name over the short one.

https://github.com/pallets/click/releases/tag/8.4.0
> The error hint now uses Command.get_help_option_names to pick
  non-shadowed help option names, so Try '... -h' no longer points to a
  subcommand option that shadows -h. All surviving names are shown
  (-h/--help). #2790 #3208

Fixes: domdfcoding#132
Signed-off-by: Stanislav Levin <slev@altlinux.org>
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 this pull request may close these issues.

[self-tests] tests fail with click 8.4.0

2 participants