mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-25 05:10:28 +02:00
allow `-' in exclusion lists for _arguments, to avoid completing all options (11121)
This commit is contained in:
parent
17e79c0157
commit
aa0381bd2b
9 changed files with 44 additions and 24 deletions
|
|
@ -2925,9 +2925,10 @@ argument will not be offered as possible completions if the option
|
|||
the argument described by the specification will not be offered if the
|
||||
option tt(-foo) is on the line. Also, the list may contain a single
|
||||
star as one of its elements to specify that the description for the
|
||||
rest arguments should not be used and it may contain a colon to
|
||||
rest arguments should not be used, a colon to
|
||||
specify that the descriptions for all normal (non-option-) arguments
|
||||
should not be used.
|
||||
should not be used and a hyphen to specify that the descriptions for
|
||||
all options should not be used.
|
||||
|
||||
In each of the cases above, the var(action) says how the possible
|
||||
completions should be generated. In cases where only one of a fixed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue