Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: _git: Add completion for help subcommand



On Sat, Aug 28, 2010 at 16:16, Aaron Schrab <aaron@xxxxxxxxxx> wrote:
> At 09:54 +0200 28 Aug 2010, Nikolai Weibull <now@xxxxxxxx> wrote:
>>
>> On Sat, Aug 28, 2010 at 02:51, Aaron Schrab <aaron@xxxxxxxxxx> wrote:
>>>
>>> At 01:43 +0200 28 Aug 2010, Nikolai Weibull <now@xxxxxxxx> wrote:
>>>>
>>>> A final nit-pick: Why put --all in a separate group?
>>>
>>> Because it supersedes any other option.
>>
>> All you need to do is put (- :) before --all instead and all options
>> and arguments are excluded.
>
> No, I'd also need to put (--all -a) before all of the other options to
> replicate having it in a separate group. ÂWhich I certainly could do.

Hm, true, my bad.

> But I'll again ask why have that support for groups in _arguments, but then
> object to using it?

Hm, I donât know what you mean.

Your last patch now seems optimal.  Thank you for having the patience
to deal with my input.



Messages sorted by: Reverse Date, Date, Thread, Author