mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 16:40:24 +02:00
40162: _arguments support for a match spec in combination with sets
This commit is contained in:
parent
fa88f57c06
commit
02eb1595e8
3 changed files with 11 additions and 1 deletions
|
|
@ -277,6 +277,11 @@
|
|||
>line: {tst j}{}
|
||||
>line: {tst -y }{}
|
||||
|
||||
tst_arguments -M 'm:{j}={y}' -y -n - set1 -i - set2 -k
|
||||
comptest $'tst -k -j\t'
|
||||
0:matcher in combination with sets (implies separate cadef structure)
|
||||
>line: {tst -k -y }{}
|
||||
|
||||
tst_arguments -x :word
|
||||
comptest $'tst -- -\t'
|
||||
0:option after --
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue