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

Re: _git: Add completion for help subcommand



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. But I'll again ask why have that support for groups in _arguments, but then object to using it?



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