From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9368 invoked from network); 15 Mar 2002 16:45:18 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 15 Mar 2002 16:45:18 -0000 Received: (qmail 19872 invoked by alias); 15 Mar 2002 16:45:11 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 16844 Received: (qmail 19850 invoked from network); 15 Mar 2002 16:45:09 -0000 From: "Bart Schaefer" Message-Id: <1020315164504.ZM2304@candle.brasslantern.com> Date: Fri, 15 Mar 2002 16:45:04 +0000 In-Reply-To: <20020315160655.GA24747@logica.com> Comments: In reply to Oliver Kiddle "Re: PATCH: _netcat" (Mar 15, 4:06pm) References: <1020310222552.ZM26165@candle.brasslantern.com> <20020311112606.GA20670@logica.com> <20020312173831.GA30789@logica.com> <15503.3721.373253.225908@wischnow.berkom.de> <20020314122203.GA28294@logica.com> <15505.45909.894644.288795@wischnow.berkom.de> <20020315160655.GA24747@logica.com> X-Mailer: Z-Mail (5.0.0 30July97) To: zsh-workers@sunsite.dk Subject: Re: PATCH: _netcat MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Mar 15, 4:06pm, Oliver Kiddle wrote: } } One point about zparseopts -K with an association though. With opts[-c] } set before zparseopts and a -r option passed to _pick_variant, it } loses the value of opts[-c]. This came up with _make and I solved it } by not using -K. I suspect that it is applying -K across the whole } association instead of per-element as I would have expected. You can't make individual elements of an association `local', so I'm not sure why you expected `zparseopts -K' to behave any differently; but I'm still not sure I understand what actually happened.