diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Debian/Command/_dpkg | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index 840f9a9fe..b96f7c21b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 diff --git a/Completion/Debian/Command/_dpkg b/Completion/Debian/Command/_dpkg index a9084ffa4..3fd970ffa 100644 --- a/Completion/Debian/Command/_dpkg +++ b/Completion/Debian/Command/_dpkg @@ -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 |