about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-12-14 17:43:35 +0000
committerClint Adams <clint@users.sourceforge.net>2001-12-14 17:43:35 +0000
commit4116fc9bc454dba0ae54440be660b191737d7228 (patch)
tree065cf081c62287d7d49cb5b51941008dc053d87c /Completion
parent62f2d97f4c7ccee58364b7713790c06cda1fcf5d (diff)
downloadzsh-4116fc9bc454dba0ae54440be660b191737d7228.tar.gz
zsh-4116fc9bc454dba0ae54440be660b191737d7228.tar.xz
zsh-4116fc9bc454dba0ae54440be660b191737d7228.zip
16335: apt-cache -g, --all-names, --recurse, pkgnames, dotty, policy completions
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Debian/Command/_apt8
1 files changed, 7 insertions, 1 deletions
diff --git a/Completion/Debian/Command/_apt b/Completion/Debian/Command/_apt
index e49394197..6d0e2e004 100644
--- a/Completion/Debian/Command/_apt
+++ b/Completion/Debian/Command/_apt
@@ -449,7 +449,10 @@ _apt-cache () {
     -q,--quiet:intlevel \
     -i,--important:bool \
     -f,--full:bool \
+    -g,--generate:bool \
     --names-only:bool \
+    --all-names:bool \
+    --recurse:bool \
     -c,--config-file:configfile \
     -o,--option:arbitem \
     -- \
@@ -465,7 +468,10 @@ _apt-cache () {
     /$'search\0'/ /$'[^\0]#\0'/ ':strings:pattern:' \| \
     /$'show\0'/ /$'[^\0]#\0'/ ':packages::_deb_packages "$expl_packages[@]" avail' \# \| \
     /$'depends\0'/ \| \
-    /"[]"/ ':argument-1::compadd "$expl_action[@]" help add gencaches showpkg stats dump dumpavail unmet check search show depends'
+    /$'pkgnames\0'/ \| \
+    /$'dotty\0'/ \| \
+    /$'policy\0'/ \| \
+    /"[]"/ ':argument-1::compadd "$expl_action[@]" help add gencaches showpkg stats dump dumpavail unmet check search show depends pkgnames dotty policy'
 
   _apt-cache () {
     local expl_action expl_packages expl_pkg_cache expl_src_cache