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

Re: PATCH: _arguments



> I just noticed that someone was so kind to put the X-Seq numbers for
> my patches in the ChangeLog... thanks!

No problem.

> The `-A -*' doesn't mean that it complete ignores all unknown strings
> starting with a hyphen, it just means that it doesn't stop completing
> options if it finds undescribed `-foo's.

> So, you still have to give it the `--{install,...}' to make it ignore
> it. Or you use the `= ' trick together with the `::' trick, as in:
> 
>            '(-i)--install:*::Debian packages:= ->install' \

I'm confused.  If I omit the '--{install,...}', doesn't that make
--install an undescribed -foo, and thus it shouldn't stop completing
options?

> Then you can leave the other stuff alone (as long as you don't need to 
> react to the presence/absence of options that might be before the
> `--install', which, hm, I think you have (the exclusion lists), hm ...).

dpkg --recursive --install should behave the same way as dpkg --install
--recursive.  *sigh*



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