From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15538 invoked from network); 12 Jul 2000 17:43:10 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Jul 2000 17:43:10 -0000 Received: (qmail 6251 invoked by alias); 12 Jul 2000 17:40:35 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3271 Received: (qmail 6133 invoked from network); 12 Jul 2000 17:40:20 -0000 Date: Wed, 12 Jul 2000 10:40:13 -0700 To: zsh-users@sunsite.auc.dk Subject: _arguments question Message-ID: <20000712104013.A4565@corp.phone.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i From: Matt Armstrong 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