Skip to content

Show repeated option metavars in help - #3839

Open
Nikhi00718 wants to merge 1 commit into
pallets:mainfrom
Nikhi00718:codex/click-3652
Open

Show repeated option metavars in help#3839
Nikhi00718 wants to merge 1 commit into
pallets:mainfrom
Nikhi00718:codex/click-3652

Conversation

@Nikhi00718

Copy link
Copy Markdown

Fixes #3652.

Automatically append ... to generated option metavars when multiple=True, so help output communicates that an option may be repeated (for example, --foo TEXT...). Added a help-output regression test.

Tests: python -m pytest tests/test_options.py -q (647 passed). The full suite also exposed two unrelated sandbox subprocess-handle failures.

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.

Automatically append ellipsis (...) to metavars when multiple=True in options

1 participant