From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12482 invoked from network); 20 Sep 1999 10:35:24 -0000 Received: from mail2.primenet.com.au (HELO primenet.com.au) (?xU0ac8ssoWrR26iML3qKnCi3rLI50A4d?@203.24.36.6) by ns1.primenet.com.au with SMTP; 20 Sep 1999 10:35:24 -0000 Received: (qmail 2060 invoked from network); 20 Sep 1999 08:48:41 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns3.primenet.com.au with SMTP; 20 Sep 1999 08:48:41 -0000 Received: (qmail 25224 invoked by alias); 20 Sep 1999 08:47:05 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7943 Received: (qmail 25217 invoked from network); 20 Sep 1999 08:47:04 -0000 Date: Mon, 20 Sep 1999 10:47:03 +0200 (MET DST) Message-Id: <199909200847.KAA06304@beta.informatik.hu-berlin.de> From: Sven Wischnowsky To: zsh-workers@sunsite.auc.dk In-reply-to: "Bart Schaefer"'s message of Sun, 19 Sep 1999 05:17:53 +0000 Subject: Re: Obsolete example in doc for _arguments? 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