Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: oggenc tabcompletion itch
- X-seq: zsh-workers 23826
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- Subject: Re: oggenc tabcompletion itch
- Date: Tue, 25 Sep 2007 14:44:28 +0100
- Cc: zsh-workers <zsh-workers@xxxxxxxxxx>
- 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= ;
- In-reply-to: <237967ef0709241327u1d6fc7ffm2400e05e1478dc16@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <237967ef0709241327u1d6fc7ffm2400e05e1478dc16@xxxxxxxxxxxxxx>
"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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author