From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.dk
Subject: Re: _cpio
Date: Mon, 26 Mar 2001 13:10:14 +0200 (MET DST) [thread overview]
Message-ID: <200103261110.NAA13576@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: Peter Stephenson's message of Sun, 25 Mar 2001 21:41:59 +0100
Peter Stephenson wrote:
> Why do I need the * before the destination directory completion for -p? It
> should work with a 1 or just the bare colon, but for some reason it doesn't
> for me.
Because in that call to _arguments there is no description for the -p
option, so it thinks that is the first (and then-only) argument.
This can be fixed by telling _arguments the options it has to expect
but not to complete, using the '!-p' syntax. Alternatively one could
use -A '-*' to say that all unknown string beginning with a hyphen are
to be `ignored' there.
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~2001-03-26 11:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-26 11:10 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-03-25 20:41 _cpio Peter Stephenson
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=200103261110.NAA13576@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.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).