Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _dpkg tweaks
- X-seq: zsh-workers 14512
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: _dpkg tweaks
- Date: Mon, 28 May 2001 14:55:52 -0400
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author