Skip to content

[rejected AI] Fix shell completion for equals-separated option values - #3863

Closed
LouisDeconinck wants to merge 1 commit into
pallets:mainfrom
LouisDeconinck:fix-shell-completion-equals
Closed

[rejected AI] Fix shell completion for equals-separated option values#3863
LouisDeconinck wants to merge 1 commit into
pallets:mainfrom
LouisDeconinck:fix-shell-completion-equals

Conversation

@LouisDeconinck

Copy link
Copy Markdown

Fixes #2847

Summary

  • preserve the option prefix when completing values entered as --option=value
  • add regression coverage for Bash and Zsh completion output
  • document the fix in the unreleased changes

Tests

  • uv run pytest -q
  • `uv run ruff check src/click/shell_completion.py tests/test_shell_completion.py

@davidism

Copy link
Copy Markdown
Member

@davidism davidism closed this Sep 10, 2026
@davidism davidism changed the title Fix shell completion for equals-separated option values [rejected AI] Fix shell completion for equals-separated option values Sep 10, 2026
@davidism davidism added the rejected AI Contribution rejected because of its untrustworthy AI origin label Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rejected AI Contribution rejected because of its untrustworthy AI origin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Long option completion with = broken

2 participants