From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7596 invoked from network); 14 Jun 2000 14:43:07 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 14 Jun 2000 14:43:07 -0000 Received: (qmail 17703 invoked by alias); 14 Jun 2000 14:42:59 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11899 Received: (qmail 17695 invoked from network); 14 Jun 2000 14:42:59 -0000 Date: Wed, 14 Jun 2000 16:42:53 +0200 (MET DST) Message-Id: <200006141442.QAA03470@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: Clint Adams's message of Wed, 14 Jun 2000 10:01:58 -0400 Subject: Re: PATCH: _arguments Clint Adams wrote: > ... > > > 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? ;-) Yes, it is confusing. I was referring to it not completing normal arguments. Since the --install isn't repeated, it is taken as the only argument (the pattern to -A is really only used by the -A mechanism). I hadn't seen that it doesn't complete options either... hm, that may have something to do with multiple sets or something, I'll have a look (together with the diff-thing). Bye Sven -- Sven Wischnowsky wischnow@informatik.hu-berlin.de