From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25159 invoked from network); 18 Sep 2006 23:46:27 -0000 X-Spam-Checker-Version: SpamAssassin 3.1.5 (2006-08-29) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,FORGED_RCVD_HELO autolearn=ham version=3.1.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 18 Sep 2006 23:46:27 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 15845 invoked from network); 18 Sep 2006 23:46:21 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 18 Sep 2006 23:46:21 -0000 Received: (qmail 17603 invoked by alias); 18 Sep 2006 23:46:14 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 10739 Received: (qmail 17593 invoked from network); 18 Sep 2006 23:46:14 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 18 Sep 2006 23:46:14 -0000 Received: (qmail 14624 invoked from network); 18 Sep 2006 23:46:14 -0000 Received: from fw.sigpipe.cz (HELO isis.sigpipe.cz) (62.245.70.224) by a.mx.sunsite.dk with SMTP; 18 Sep 2006 23:46:11 -0000 Received: from dagan.sigpipe.cz (dagan.sigpipe.cz [10.9.8.90]) by isis.sigpipe.cz (Postfix) with ESMTP id 75CCE1F87BF2 for ; Tue, 19 Sep 2006 01:46:11 +0200 (CEST) Received: by dagan.sigpipe.cz (Postfix, from userid 1001) id 229622C92E8; Tue, 19 Sep 2006 01:46:39 +0000 (UTC) Date: Tue, 19 Sep 2006 01:46:39 +0000 From: Roman Neuhauser To: zsh users Subject: _arguments: repeated option with multiple optargs Message-ID: <20060919014639.GB29030@dagan.sigpipe.cz> Mail-Followup-To: zsh users Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Hello, _arguments -s : '*-r=::->file:*:::->test' does exactly what the manual say it does, IOW all the remaining words on the line are to be completed as described by the action. That's not what I want, though: the whole (-r file 1*test) can be repeated, and I'd like it to offer also -r. Can _arguments do this for me somehow, or is this up to me? Hints appreciated. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991