diff options
author | Jörn-Thorben Hinz <11910-jth@users.noreply.salsa.debian.org> | 2022-01-21 12:36:12 +0100 |
---|---|---|
committer | Jörn-Thorben Hinz <11910-jth@users.noreply.salsa.debian.org> | 2022-02-01 18:17:30 +0100 |
commit | a6c92473b6106a0ee8d65e9f87874d9c07fb172c (patch) | |
tree | 154cd21d7140e93bf58a72276ddfd38e115cc1c1 /completions | |
parent | d1b6ff46b591865bb89f82c0c44628d61016de74 (diff) |
Provide bash-completions for reinstall (same as for install)
Closes: #930295
Diffstat (limited to 'completions')
-rw-r--r-- | completions/bash/apt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/bash/apt b/completions/bash/apt index 86de612d0..b615c578f 100644 --- a/completions/bash/apt +++ b/completions/bash/apt @@ -39,7 +39,7 @@ _apt() "list" "search" "show" "showsrc" - "install" "remove" "purge" "autoremove" "autopurge" + "install" "reinstall" "remove" "purge" "autoremove" "autopurge" "update" "upgrade" "full-upgrade" "dist-upgrade" "edit-sources" @@ -70,7 +70,7 @@ _apt() # supported options per command if [[ "$cur" == -* ]]; then case ${command-} in - install|remove|purge|upgrade|dist-upgrade|full-upgrade|autoremove|autopurge) + install|reinstall|remove|purge|upgrade|dist-upgrade|full-upgrade|autoremove|autopurge) COMPREPLY=( $( compgen -W '--show-progress --fix-broken --purge --verbose-versions --auto-remove -s --simulate --dry-run @@ -188,7 +188,7 @@ _apt() 2> /dev/null ) ) return 0 ;; - install) + install|reinstall) if [[ "$cur" == .* || "$cur" == /* || "$cur" == ~* ]]; then _filedir "deb" else |