summary refs log tree commit diff
path: root/Completion/Debian
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Debian')
-rw-r--r--Completion/Debian/Command/_dpkg8
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