diff options
author | Oliver Kiddle <opk@zsh.org> | 2017-10-07 22:35:59 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2017-10-07 22:35:59 +0200 |
commit | 12902206b755e05b0b998b521c5998da1f5838cc (patch) | |
tree | 0c299077d73968dfaf266968941c6e6717e2ac8d /Test | |
parent | 69fcc22dc84e8411870ba8f2a4c876e223ad2a08 (diff) | |
download | zsh-12902206b755e05b0b998b521c5998da1f5838cc.tar.gz zsh-12902206b755e05b0b998b521c5998da1f5838cc.tar.xz zsh-12902206b755e05b0b998b521c5998da1f5838cc.zip |
41824: fix to not complete rest args from an _arguments set alongside the argument to and option in a separate set
Diffstat (limited to 'Test')
-rw-r--r-- | Test/Y03arguments.ztst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/Y03arguments.ztst b/Test/Y03arguments.ztst index 94ce8361e..de495ee6c 100644 --- a/Test/Y03arguments.ztst +++ b/Test/Y03arguments.ztst @@ -364,6 +364,14 @@ 0:repeatable options >line: {tst -v -v }{} + tst_arguments - set1 '--label=:arg:(a b)' - set2 ':rest:(rest args --label=not)' + comptest $'tst --label=\t' +0:rest arguments from another set not completed after option from first set +>line: {tst --label=}{} +>DESCRIPTION:{arg} +>NO:{a} +>NO:{b} + tst_arguments -A '-*' - help -h -V - other -a '*: :(-x more)' comptest $'tst -a -x m\t' 0:continue completion after rest argument that looks like an option (with sets) |