From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13078 invoked from network); 13 Sep 1999 20:33:03 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 13 Sep 1999 20:33:03 -0000 Received: (qmail 24004 invoked by alias); 13 Sep 1999 20:32:49 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7816 Received: (qmail 23997 invoked from network); 13 Sep 1999 20:32:49 -0000 To: zsh-workers@sunsite.auc.dk Subject: The options variable of _arguments. MIME-Version: 1.0 (generated by AKEMI 1.13.2 - =?ISO-2022-JP?B?Ig==?= =?ISO-2022-JP?B?GyRCQTA0Y0s8GyhCIg==?=) Content-Type: text/plain; charset=US-ASCII From: Tanaka Akira Date: 14 Sep 1999 05:32:47 +0900 Message-ID: User-Agent: Chao-gnus/6.12.5 AKEMI/1.13.2 (=?ISO-2022-JP?B?GyRCQTAbKEI=?= =?ISO-2022-JP?B?GyRCNGNLPBsoQg==?=) FLAM-DOODLE/1.12.6 (=?ISO-2022-JP?B?GyRCM3cbKEI=?= 10R4.0/5.0) Emacs/20.4 (sparc-sun-solaris2.6) MULE/4.0 (HANANOEN) Z(2):akr@is27e1u11% Src/zsh -f is27e1u11% bindkey -e; fpath=($PWD/Completion/*(/)); autoload -U compinit; compinit -D; compdef _tst tst is27e1u11% _tst () { _arguments -s '-a' '-b' ':descr:{ compadd - $+options[-a] }' } is27e1u11% tst -ab -> is27e1u11% tst -ab 0 Hm. It should be: is27e1u11% tst -ab 1 -- Tanaka Akira