aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2003-12-17 03:01:06 +0000
committerClint Adams <clint@users.sourceforge.net>2003-12-17 03:01:06 +0000
commit1e1ed87dc5d309c7d5e3056659a652df6c1cb5d9 (patch)
tree6aec666ebe4afda6f4d237789eb04ffea1011173
parente6d2f7ba01b9f9af36c873a5066eaf655f37d02b (diff)
downloadzsh-1e1ed87dc5d309c7d5e3056659a652df6c1cb5d9.tar.gz
zsh-1e1ed87dc5d309c7d5e3056659a652df6c1cb5d9.tar.xz
zsh-1e1ed87dc5d309c7d5e3056659a652df6c1cb5d9.zip
Stephen Rüger: 19255: Completion/Debian/Command/_apt: update to work with APT 0.5.14
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Debian/Command/_apt21
2 files changed, 18 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index f31e778b2..48466c91a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-17 Clint Adams <clint@zsh.org>
+
+ * Stephen Rüger: 19255: Completion/Debian/Command/_apt: update
+ to work with APT 0.5.14
+
2003-12-16 Oliver Kiddle <opk@zsh.org>
* 19299: Completion/Unix/Command/_mount: try to handle
diff --git a/Completion/Debian/Command/_apt b/Completion/Debian/Command/_apt
index 540a44629..ae6e739a1 100644
--- a/Completion/Debian/Command/_apt
+++ b/Completion/Debian/Command/_apt
@@ -396,10 +396,11 @@ _apt-get () {
-q,--quiet,--silent:intlevel \
-d,--download-only:bool \
-b,--compile,--build:bool \
- -s,--simulate,--just-print,--recon,--no-act:bool \
+ -s,--simulate,--just-print,--dry-run,--recon,--no-act:bool \
-y,--yes,--assume-yes:bool \
-f,--fix-broken:bool \
-u,--show-upgraded:bool \
+ -V,--verbose-versions:bool \
-m,--ignore-missing,--fix-missing:bool \
--no-download:bool \
--ignore-hold:bool \
@@ -417,6 +418,7 @@ _apt-get () {
--only-source:bool \
--diff-only:bool \
--tar-only:bool \
+ --arch-only:bool \
-- \
/$'update\0'/ \| \
/$'upgrade\0'/ \| \
@@ -455,8 +457,9 @@ _apt-cache () {
-i,--important:bool \
-f,--full:bool \
-g,--generate:bool \
- --names-only:bool \
+ -n,--names-only:bool \
--all-names:bool \
+ -a,--all-versions:bool \
--recurse:bool \
-c,--config-file:configfile \
-o,--option:arbitem \
@@ -470,14 +473,15 @@ _apt-cache () {
/$'dump\0'/ \| \
/$'dumpavail\0'/ \| \
/$'unmet\0'/ \| \
- /$'check\0'/ \| \
/$'search\0'/ /$'[^\0]#\0'/ ':strings:pattern:' \| \
/$'show\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
- /$'depends\0'/ \| \
- /$'pkgnames\0'/ \| \
- /$'dotty\0'/ \| \
+ /$'depends\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
+ /$'rdepends\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
+ /$'pkgnames\0'/ /$'[^\0]#\0'/ ':strings:prefix:' \| \
+ /$'dotty\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
+ /$'xvcg\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
/$'policy\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
- /"[]"/ ':argument-1::compadd "$expl_action[@]" help add gencaches showpkg showsrc stats dump dumpavail unmet check search show depends pkgnames dotty policy'
+ /"[]"/ ':argument-1::compadd "$expl_action[@]" help add gencaches showpkg showsrc stats dump dumpavail unmet search show depends rdepends pkgnames dotty policy xvcg'
_apt-cache () {
local expl_action expl_packages expl_pkg_cache expl_src_cache
@@ -506,7 +510,8 @@ _apt-cdrom () {
-o,--option:arbitem \
-- \
/$'add\0'/ \| \
- /"[]"/ ':argument-1::compadd "$expl_action[@]" add'
+ /$'ident\0'/ \| \
+ /"[]"/ ':argument-1::compadd "$expl_action[@]" add ident'
_apt-cdrom () {
local expl_action expl_mount_point