* PATCH: _dpkg tweaks
@ 2001-05-28 18:55 Clint Adams
0 siblings, 0 replies; only message in thread
From: Clint Adams @ 2001-05-28 18:55 UTC (permalink / raw)
To: zsh-workers
Unless something changed, I have no idea how it worked before.
--compare-versions still doesn't work properly if it is
preceded by any non "-*" arguments, though that shouldn't
be commonplace. If I double the colon it doesn't
do what I expect either. See next message for a similar problem.
Index: Completion/Debian/Command/_dpkg
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Debian/Command/_dpkg,v
retrieving revision 1.1
diff -u -r1.1 _dpkg
--- Completion/Debian/Command/_dpkg 2001/04/02 12:22:24 1.1
+++ Completion/Debian/Command/_dpkg 2001/05/28 18:21:04
@@ -129,10 +129,10 @@
;;
compare_versions)
_call_function ret _dpkg_$state && return ret
- _arguments -C -A "-*" -s "$_dpkg_options[@]" \
- '2:version A:' \
- '3:operator:(lt le eq ne ge gt lt-nl le-nl ge-nl gt-nl)' \
- '4:version B:'
+ _arguments -C -A "-*" -s \
+ '1:version A:' \
+ '2:operator:(lt le eq ne ge gt lt-nl le-nl ge-nl gt-nl)' \
+ '3:version B:'
;;
configure)
_call_function ret _dpkg_$state && return ret
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-05-28 18:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-28 18:55 PATCH: _dpkg tweaks Clint Adams
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).