diff options
Diffstat (limited to 'Completion/Debian')
-rw-r--r-- | Completion/Debian/Command/_dpkg | 2 | ||||
-rw-r--r-- | Completion/Debian/Command/_update-alternatives | 12 |
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' ;; |