* Bugs in _arguments ?
@ 2000-05-21 13:27 Chmouel Boudjnah
2000-05-22 0:50 ` Bart Schaefer
0 siblings, 1 reply; 2+ messages in thread
From: Chmouel Boudjnah @ 2000-05-21 13:27 UTC (permalink / raw)
To: zsh-workers
Hi,
Maybe i missed something but _arguments don't do his job, thing like :
rpm -ba --[tab]
should complete something like :
_arguments -s \
'*-v[verbose mode]' \
'--rcfile:resource file:_files' \
'--ftpproxy:FTP proxy server:_hosts' \
'--ftpport:FTP port number:' \
--{short-circuit,clean,rmsource,sign,test} \
'--target:specify a build target:->target'\
'--buildroot:build root directory:_files -/' \
'--buildarch:architecture for which to build:' \
'--buildos:ositecture for which to build:' \
'--timecheck:time check (seconds):' "$tmp[1]" && ret=0
but zsh do nothing (like didn't see any --). Testing with last cvs
version and a minmal .zshrc to load compinit.
--
MandrakeSoft Inc http://www.mandrakesoft.com
In travel. --Chmouel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Bugs in _arguments ?
2000-05-21 13:27 Bugs in _arguments ? Chmouel Boudjnah
@ 2000-05-22 0:50 ` Bart Schaefer
0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2000-05-22 0:50 UTC (permalink / raw)
To: Chmouel Boudjnah, zsh-workers
On May 21, 3:27pm, Chmouel Boudjnah wrote:
} Subject: Bugs in _arguments ?
}
} Maybe i missed something but _arguments don't do his job, thing like :
}
} rpm -ba --[tab]
When I do that, I get:
Completing `build', `spec file', `file', or `corrections'
So somewhere else there is an argument spec for '-ba' that says the next
argument can't be an option. ^X? is your friend; it indicates that the
actual problem is in the `build_b' state in _rpm, and not in _arguments.
However, I'm not up to trying to fix it at the moment ...
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-05-22 0:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-21 13:27 Bugs in _arguments ? Chmouel Boudjnah
2000-05-22 0:50 ` Bart Schaefer
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).