Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
_arguments -s and mutually exclusive options
- X-seq: zsh-users 5623
- From: Doug Kearns <djkea2@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: _arguments -s and mutually exclusive options
- Date: Thu, 2 Jan 2003 23:59:51 +1100
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author