summaryrefslogtreecommitdiffstats
path: root/Completion/Zsh/Function/__arguments
diff options
context:
space:
mode:
authordana <dana@dana.is>2026-06-01 21:15:13 -0500
committerdana <dana@dana.is>2026-06-08 19:53:13 -0500
commit0e2f4f282191f13c3e32969b38483dcde9301c86 (patch)
treead96eecf0c2d19a7ef41424b73679a153062e032 /Completion/Zsh/Function/__arguments
parentunposted: zgetopt: fix error name, behaviour after auto-loading (diff)
downloadzsh-0e2f4f282191f13c3e32969b38483dcde9301c86.tar
zsh-0e2f4f282191f13c3e32969b38483dcde9301c86.tar.gz
zsh-0e2f4f282191f13c3e32969b38483dcde9301c86.tar.bz2
zsh-0e2f4f282191f13c3e32969b38483dcde9301c86.tar.lz
zsh-0e2f4f282191f13c3e32969b38483dcde9301c86.tar.xz
zsh-0e2f4f282191f13c3e32969b38483dcde9301c86.tar.zst
zsh-0e2f4f282191f13c3e32969b38483dcde9301c86.zip
54659: comparguments: support zsh-style '-' terminator with -S -S
Diffstat (limited to 'Completion/Zsh/Function/__arguments')
-rw-r--r--Completion/Zsh/Function/__arguments2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Zsh/Function/__arguments b/Completion/Zsh/Function/__arguments
index af7710971..1264d372b 100644
--- a/Completion/Zsh/Function/__arguments
+++ b/Completion/Zsh/Function/__arguments
@@ -32,7 +32,7 @@ else
'-W[(rarely needed) enable single-letter option stacking with arguments in the same word (-x X -y == -xXy)]' \
"-C[modify \$curcontext for \`->action' (instead of \$context)]" \
"-R[when \`->action' matches, return 300]" \
- "-S[honour \`--' as end-of-options guard]" \
+ "*-S[honour \`--' (and \`-' if given twice) as end-of-options guard]" \
"-A[do not complete options after non-options]:pattern matching unknown options (e.g., '-*')" \
'-O[pass elements of array variable to function calls in actions]:array variable name:_parameters -g array' \
"-M[specify matchspec for completing option names and values]:matchspec for completing option names and values [ 'r\\:|[_-]=* r\\:|=*' ]" \