From d1b6ff46b591865bb89f82c0c44628d61016de74 Mon Sep 17 00:00:00 2001 From: Jörn-Thorben Hinz <11910-jth@users.noreply.salsa.debian.org> Date: Fri, 21 Jan 2022 12:32:07 +0100 Subject: Provide the same bash-completions for autopurge as for autoremove 8ebb95805 missed some places to really bash-complete the autopurge command. Partially closes #930295 --- completions/bash/apt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/completions/bash/apt b/completions/bash/apt index 35716e7a7..86de612d0 100644 --- a/completions/bash/apt +++ b/completions/bash/apt @@ -70,7 +70,7 @@ _apt() # supported options per command if [[ "$cur" == -* ]]; then case ${command-} in - install|remove|purge|upgrade|dist-upgrade|full-upgrade|autoremove) + install|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 @@ -172,7 +172,7 @@ _apt() # specific command arguments if [[ -v command ]]; then case $command in - remove|purge|autoremove) + remove|purge|autoremove|autopurge) if [[ -f /etc/debian_version ]]; then # Debian system COMPREPLY=( $( \ -- cgit v1.2.3-70-g09d2