From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.auc.dk
Subject: Re: Obsolete example in doc for _arguments?
Date: Mon, 20 Sep 1999 10:47:03 +0200 (MET DST) [thread overview]
Message-ID: <199909200847.KAA06304@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: "Bart Schaefer"'s message of Sun, 19 Sep 1999 05:17:53 +0000
Bart Schaefer wrote:
> Here's a snippet from the compsys doc for _aguments. The example doesn't
> match the description at all. Have I missed something?
I only remember that I wanted to think about changing it...
Bye
Sven
diff -u od/Zsh/compsys.yo Doc/Zsh/compsys.yo
--- od/Zsh/compsys.yo Mon Sep 20 10:21:44 1999
+++ Doc/Zsh/compsys.yo Mon Sep 20 10:46:54 1999
@@ -897,9 +897,9 @@
command from the line with the `tt(-)tt(-help)' option matches the
var(pattern). For example:
-example(_arguments -- '*\*' '(yes no)' \
- '*=FILE*' '_files' \
- '*=DIR*' '_files -/')
+example(_arguments -- '*\*:toggle:(yes no)' \
+ '*=FILE*:file:_files' \
+ '*=DIR*:directory:_files -/')
Here, `tt(yes)' and `tt(no)' will be completed as the argument of
options whose description ends in a star, file names for options that
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1999-09-20 10:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-09-20 8:47 Sven Wischnowsky [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-09-19 5:17 Bart Schaefer
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=199909200847.KAA06304@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).