Closed
Description
The error message "Could not determine name for option" from core.py does not tell the use which @click.option
was at fault. The stacktrace points to the command wrapper itself, not to the decorator since the error is only thrown later.
An example for an invalid option is @click.option('--foo,--bar')
The error message should include the offending declaration.
MR incoming.
Environment:
- Python version: 3.10
- Click version: 8.1.3
Metadata
Metadata
Assignees
Labels
No labels