* _arguments -s and mutually exclusive options
@ 2003-01-02 12:59 Doug Kearns
0 siblings, 0 replies; only message in thread
From: Doug Kearns @ 2003-01-02 12:59 UTC (permalink / raw)
To: zsh-users
Hello all,
It appears that options specified as being mutually exclusive are not
honoured as such by _arguments if -s is used.
For example,
_arguments -s \
'( -b )-a[option a]' \
'( -a )-b[option b]' \
'-c[option c]'
will, incorrectly, offer option 'b' as an available completion here
% blah -a<TAB>
but correctly, will not offer option 'b' here
% blah -a -<TAB>
Is this a bug or have I missed something relevant in the docs?
Thanks,
Doug
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-01-02 12:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-02 12:59 _arguments -s and mutually exclusive options Doug Kearns
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).