From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24223 invoked from network); 25 Sep 2007 13:43:48 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 25 Sep 2007 13:43:48 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 7983 invoked from network); 25 Sep 2007 13:43:42 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 25 Sep 2007 13:43:42 -0000 Received: (qmail 842 invoked by alias); 25 Sep 2007 13:43:39 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23826 Received: (qmail 830 invoked from network); 25 Sep 2007 13:43:39 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 25 Sep 2007 13:43:39 -0000 Received: (qmail 7614 invoked from network); 25 Sep 2007 13:43:38 -0000 Received: from smtp007.mail.ukl.yahoo.com (217.12.11.96) by a.mx.sunsite.dk with SMTP; 25 Sep 2007 13:43:35 -0000 Received: (qmail 25698 invoked from network); 25 Sep 2007 13:43:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Received:X-YMail-OSG:Received:cc:In-reply-to:From:References:To:Subject:Date:Message-ID; b=I+AUu0vjIRwlmi2kS2DtY5yXgsmMCxYPfh6wv4bB0LFa0cKGzIa0o2jcSnIQy+svanryrLmsq87X6HpSNvfOcM+wPivSzViO5SPfbNLm1sGt/vg9LZNRHJ/iTUmuqbYH6qY66ihAUhAs6kfcZtJnTphmMcSPkuIQ+4VTD80CNsE= ; Received: from unknown (HELO thecus) (okiddle@89.48.24.34 with plain) by smtp007.mail.ukl.yahoo.com with SMTP; 25 Sep 2007 13:43:33 -0000 X-YMail-OSG: KSOovnUVM1lweeuXDChySokPHm.MBWwjI2cWqdHKgI_LlmVGRvZY.Rf7_0h0y2VSb5ueMmFlFg-- Received: from opk (helo=thecus) by thecus with local-esmtp (Exim 4.63) (envelope-from ) id 1IaAiD-0001Gw-4R; Tue, 25 Sep 2007 14:44:29 +0100 cc: zsh-workers In-reply-to: <237967ef0709241327u1d6fc7ffm2400e05e1478dc16@mail.gmail.com> From: Oliver Kiddle References: <237967ef0709241327u1d6fc7ffm2400e05e1478dc16@mail.gmail.com> To: "Mikael Magnusson" Subject: Re: oggenc tabcompletion itch Date: Tue, 25 Sep 2007 14:44:28 +0100 Message-ID: <4893.1190727868@thecus> "Mikael Magnusson" wrote: > The options completion for oggenc wants options like -q 3 with a > space, but oggenc accepts -q3 without a space happily too. Being lazy > the line for -q in _vorbis looks like > '(-q --quality)'{-q,--quality=}'[set encoding quality]:quality:(0 1 2 3 4 5 6 7 8 9 10)' \ By putting a + after the -q, you can indicate that the argument can optionally be in the same word. Similarly, a - would mean that the argument must be in the same word. So the line needs to be changed to: '(-q --quality)'{-q+,--quality=}'[set encoding quality]:quality:(0 1 2 3 4 5 6 7 8 9 10)' \ Oliver