diff options
author | Clint Adams <clint@users.sourceforge.net> | 2001-05-28 18:59:03 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2001-05-28 18:59:03 +0000 |
commit | 661857b1619f0e1381e4b3337042c3467f7070f6 (patch) | |
tree | 3766dabea82b0f71ccc247437db849b84318a6fb /Completion/Debian | |
parent | ecbc4e445792cb445207253bf9eab83322701178 (diff) | |
download | zsh-661857b1619f0e1381e4b3337042c3467f7070f6.tar.gz zsh-661857b1619f0e1381e4b3337042c3467f7070f6.tar.xz zsh-661857b1619f0e1381e4b3337042c3467f7070f6.zip |
14512: dpkg --compare-versions behavior tweak
Diffstat (limited to 'Completion/Debian')
-rw-r--r-- | Completion/Debian/Command/_dpkg | 8 |
1 files changed, 4 insertions, 4 deletions
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 |