zsh-users
 help / color / mirror / code / Atom feed
* _arguments: repeated option with multiple optargs
@ 2006-09-19  1:46 Roman Neuhauser
  2006-09-19 13:19 ` Roman Neuhauser
       [not found] ` <20060919172825.3f7c6232.pws@csr.com>
  0 siblings, 2 replies; 3+ messages in thread
From: Roman Neuhauser @ 2006-09-19  1:46 UTC (permalink / raw)
  To: zsh users

Hello,

_arguments -s : '*-r=::->file:*:::->test'

does exactly what the manual say it does, IOW all the remaining words on
the line are to be completed as described by the action. That's not what
I want, though: the whole (-r file 1*test) can be repeated, and I'd like
it to offer also -r.

Can _arguments do this for me somehow, or is this up to me?

Hints appreciated.

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-09-20  9:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-19  1:46 _arguments: repeated option with multiple optargs Roman Neuhauser
2006-09-19 13:19 ` Roman Neuhauser
     [not found] ` <20060919172825.3f7c6232.pws@csr.com>
     [not found]   ` <20060919225628.GA46070@dagan.sigpipe.cz>
2006-09-20  9:10     ` Peter Stephenson

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).