diff options
author | Clint Adams <clint@users.sourceforge.net> | 2001-12-14 17:43:35 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2001-12-14 17:43:35 +0000 |
commit | 4116fc9bc454dba0ae54440be660b191737d7228 (patch) | |
tree | 065cf081c62287d7d49cb5b51941008dc053d87c | |
parent | 62f2d97f4c7ccee58364b7713790c06cda1fcf5d (diff) | |
download | zsh-4116fc9bc454dba0ae54440be660b191737d7228.tar.gz zsh-4116fc9bc454dba0ae54440be660b191737d7228.tar.xz zsh-4116fc9bc454dba0ae54440be660b191737d7228.zip |
16335: apt-cache -g, --all-names, --recurse, pkgnames, dotty, policy completions
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Completion/Debian/Command/_apt | 8 |
2 files changed, 13 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index f227fafa2..97b577ac5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-12-14 Clint Adams <clint@zsh.org> + + * 16335: Completion/Debian/Command/_apt: + add -g, --all-names, --recurse, pkgnames, dotty, policy + completions for apt-cache. + 2001-12-12 Oliver Kiddle <opk@zsh.org> * 16323, 16330: Completion/Unix/Command/_webbrowser, 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 |