summary refs log tree commit diff
path: root/Completion/Debian/Command
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-05-29 12:39:31 +0000
committerClint Adams <clint@users.sourceforge.net>2001-05-29 12:39:31 +0000
commit572bd64e32d1ee45de0f9ddb12669863747a35b6 (patch)
tree48a0e78598e040ca26eca7ca2cc218696c316f91 /Completion/Debian/Command
parent4a7abbfdd6c68616143bae840333adeed5ad0066 (diff)
downloadzsh-572bd64e32d1ee45de0f9ddb12669863747a35b6.tar.gz
zsh-572bd64e32d1ee45de0f9ddb12669863747a35b6.tar.xz
zsh-572bd64e32d1ee45de0f9ddb12669863747a35b6.zip
14533: -> to = -> for dpkg and update-alternatives
Diffstat (limited to 'Completion/Debian/Command')
-rw-r--r--Completion/Debian/Command/_dpkg2
-rw-r--r--Completion/Debian/Command/_update-alternatives12
2 files changed, 7 insertions, 7 deletions
diff --git a/Completion/Debian/Command/_dpkg b/Completion/Debian/Command/_dpkg
index 3fd970ffa..65fd4b827 100644
--- a/Completion/Debian/Command/_dpkg
+++ b/Completion/Debian/Command/_dpkg
@@ -58,7 +58,7 @@ _dpkg_actions=('(--install)-i[install packages]:*:Debian packages:->install' \
            '--print-architecture[print target architecture]' \
            '--print-gnu-build-architecture[print GNU version of target architecture]' \
            '--print-installation-architecture[print host architecture]' \
-           '--compare-versions[compare version numbers]:*:expression:->compare_versions')
+           '--compare-versions[compare version numbers]:*::expression:= ->compare_versions')
 
 _dpkg_options=('--abort-after[abort after errors]:number of errors:' \
            '--admindir=[data directory]:directory:_files -/' \
diff --git a/Completion/Debian/Command/_update-alternatives b/Completion/Debian/Command/_update-alternatives
index 2f5c5fe47..1bf195828 100644
--- a/Completion/Debian/Command/_update-alternatives
+++ b/Completion/Debian/Command/_update-alternatives
@@ -10,11 +10,11 @@ _arguments -C '--verbose' \
            '--version' \
            '--altdir:altdir:_files -/' \
            '--admindir:admindir:_files -/' \
-    '--install:*::alt:->install' \
-    '--remove:*::alt:->remove' \
-    '--auto:altname:_files -W /var/lib/dpkg/alternatives' \
-    '--display:altname:_files -W /var/lib/dpkg/alternatives' \
-    '--config:altname:_files -W /var/lib/dpkg/alternatives' && return 0
+    '--install:*::alt:= ->install' \
+    '--remove:*::alt:= ->remove' \
+    '--auto:name:_files -W /var/lib/dpkg/alternatives' \
+    '--display:name:_files -W /var/lib/dpkg/alternatives' \
+    '--config:name:_files -W /var/lib/dpkg/alternatives' && return 0
 
 _call_function ret _update_alternatives_$state && return ret
 case "$state" in
@@ -34,7 +34,7 @@ case "$state" in
 
 	remove)
 	_arguments \
-                   '1:altname:_files -W /var/lib/dpkg/alternatives' \
+                   '1:name:_files -W /var/lib/dpkg/alternatives' \
                    '2:path:_files'
 	;;