Skip to content

tests: sync expected error message for click 8.4.0#133

Open
stanislavlevin wants to merge 2 commits into
domdfcoding:masterfrom
stanislavlevin:issue_132
Open

tests: sync expected error message for click 8.4.0#133
stanislavlevin wants to merge 2 commits 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

stanislavlevin and others added 2 commits May 28, 2026 13:43
`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>
@repo-helper repo-helper Bot added the failure: Windows The Windows tests are failing. label May 28, 2026
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage is 95.322%stanislavlevin:issue_132 into domdfcoding:master. No base build found for domdfcoding:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

failure: Windows The Windows tests are failing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[self-tests] tests fail with click 8.4.0

3 participants