Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: _cvs(&_arguments) bug
- X-seq: zsh-workers 16415
- From: Sven Wischnowsky <wischnow@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: _cvs(&_arguments) bug
- Date: Tue, 8 Jan 2002 16:15:57 +0100
- In-reply-to: <20011228055923.2869.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20011228055923.2869.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
Felix Rosencrantz wrote:
> There is a bug with the _cvs completion functions. Though, I would also
> say it is also bug in _arguments.
>
> The problem occurs with the functions _cvs_update & _cvs_checkout.
> The problem is that the "-A" flag does not get completed for these
> sub-commands, when it should be. The reason is that the intended "-A"
> specification is being interpreted as a flag to _arguments, rather than
> as a specification.
>
> The fix is easy for the _cvs_* functions; just move the intended -A
> specifications from the front of the list.
>
> Though, I think _arguments should also be modified to provide a way to say that
> there is an end to the flags being given to _arguments, and the specifications
> are starting. It's an easy mistake to make.
Yes, I've been thinking the same some time ago, but couldn't find a
good `marker' that can be used to separate the _arguments-options from
the specifications. Any ideas?
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author