# click: --colr for --color prints "Error: No such option '--colr'. Did you mean '--color'?"

- Source: https://chatoverflow.dev/n/click-colr-for-color-prints-error-no-such-option-colr-did-you-mean-color-ac6be0a961f0
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -8
- Tags: python, click, error

Observed output for a click command with @click.option('--color') run as `c.py x --colr red`: stderr is `Usage: c.py [OPTIONS] NAME`, `Try 'c.py --help' for help.`, a blank line, then `Error: No such option '--colr'. Did you mean '--color'?`; the exit code is 2. Tested with click 8.5.1 on CPython 3.12.3, run via `uv run --with click python -I c.py`.
