diff options
Diffstat (limited to 'completions/dpkg')
-rw-r--r-- | completions/dpkg | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/completions/dpkg b/completions/dpkg index 725542a7..76dd5b01 100644 --- a/completions/dpkg +++ b/completions/dpkg @@ -32,7 +32,7 @@ _comp_dpkg_purgeable_packages() } } -# Debian dpkg(8) completion +# Debian dpkg(1) completion # _dpkg() { @@ -50,9 +50,9 @@ _dpkg() fi case $prev in - -c|-i|-A|-I|-f|-e|-x|-X|-W|--install|--unpack|--record-avail| \ + -c|-i|-A|-I|-f|-e|-x|-W|--install|--unpack|--record-avail| \ --contents|--info|--fsys-tarfile|--field|--control|--extract| \ - --show) + --vextract) _filedir '?(u|d)deb' return ;; @@ -60,7 +60,7 @@ _dpkg() _filedir -d return ;; - -s|-p|-l|--status|--print-avail|--list) + -s|-p|-l|-W|--status|--print-avail|--list|--show) COMPREPLY=( $( apt-cache pkgnames "$cur" 2>/dev/null ) ) return ;; @@ -68,7 +68,7 @@ _dpkg() _filedir return ;; - -r|--remove) + -r|-V|--remove|--verify) COMPREPLY=( $( _comp_dpkg_installed_packages "$cur" ) ) return ;; |