1
0
Fork 0
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:
Oliver Kiddle 2016-12-22 16:12:42 +01:00
parent fa88f57c06
commit 02eb1595e8
3 changed files with 11 additions and 1 deletions

View file

@ -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 --