summaryrefslogtreecommitdiffstats
path: root/Test/Y03arguments.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/Y03arguments.ztst')
-rw-r--r--Test/Y03arguments.ztst8
1 files changed, 7 insertions, 1 deletions
diff --git a/Test/Y03arguments.ztst b/Test/Y03arguments.ztst
index de495ee6c..7cbadfe8c 100644
--- a/Test/Y03arguments.ztst
+++ b/Test/Y03arguments.ztst
@@ -485,12 +485,18 @@
>NO:{-c}
>NO:{-g}
- tst_arguments '(-)-h' -a -b -c
+ tst_arguments '(-)-h' -a -b -c --long +p
comptest $'tst -h -\t'
0:exclude all other options
>line: {tst -h -}{}
>MESSAGE:{no arguments}
+ tst_arguments --args -b -c +p '(-)1:normal'
+ comptest $'tst arg -\t'
+0:exclude all options from a normal argument
+>line: {tst arg -}{}
+>MESSAGE:{no more arguments}
+
tst_arguments -a '(-a)-b'
comptest $'tst - -b\C-b\C-b\C-b\t'
0:exclusion only applies to later words