Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
_arguments question
- X-seq: zsh-users 3271
- From: Matt Armstrong <matt@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: _arguments question
- Date: Wed, 12 Jul 2000 10:40:13 -0700
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
I have this completion function that I have a question on:
_p4_submit () {
_arguments \
'(-i)-c[changelist#]:changelist #' \
'(-c)-i[input from stddin]' \
':submit file:_files'
}
I have made -i and -c mutually exclusive. How can I make all three
mutually exclusive? This command accepts only one of the three
possible arguments.
--
matt
Messages sorted by:
Reverse Date,
Date,
Thread,
Author