Skip to content
Myr

break the loop on identifying last option

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Saipraneeth · committed by Andreas Backx · parent 45f89cd · Browse files · 1 file+1 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−0 removed

  • other:+1 added−0 removed

1 file+1 added−0 removed

modified:src/click/shell_completion.py+1 added
523 unmodified lines
524 break525526 if _start_of_option(ctx, arg):527 last_option = arg528 break529530 return last_option is not None and last_option in param.opts531532
106 unmodified lines