From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: _arguments
Date: Wed, 14 Jun 2000 16:42:53 +0200 (MET DST) [thread overview]
Message-ID: <200006141442.QAA03470@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Clint Adams's message of Wed, 14 Jun 2000 10:01:58 -0400
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
next reply other threads:[~2000-06-14 14:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-06-14 14:42 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-06-14 6:53 Sven Wischnowsky
2000-06-14 14:01 ` Clint Adams
2000-06-13 12:07 Sven Wischnowsky
2000-06-13 17:47 ` Clint Adams
2000-01-28 9:02 Sven Wischnowsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200006141442.QAA03470@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.auc.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).