1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00

14512: dpkg --compare-versions behavior tweak

This commit is contained in:
Clint Adams 2001-05-28 18:59:03 +00:00
parent ecbc4e4457
commit 661857b161
2 changed files with 9 additions and 4 deletions

@ -1,3 +1,8 @@
2001-05-28 Clint Adams <schizo@debian.org>
* 14512: Completion/Debian/Command/_dpkg: tweak --compare-versions
behavior.
2001-05-28 Bart Schaefer <schaefer@zsh.org>
* unposted: Src/Modules/zprof.c: Silence bogus compiler warnings

@ -129,10 +129,10 @@ case "$state" in
;;
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