summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörn-Thorben Hinz <11910-jth@users.noreply.salsa.debian.org>2022-01-21 12:32:07 +0100
committerJörn-Thorben Hinz <11910-jth@users.noreply.salsa.debian.org>2022-02-01 18:16:10 +0100
commitd1b6ff46b591865bb89f82c0c44628d61016de74 (patch)
treea5cf06dff11841f0d41d5e78577c49e8cc7675c7
parentd4a37f071330a6cb6d2ec56ef60ad68ae580f323 (diff)
Provide the same bash-completions for autopurge as for autoremove
8ebb95805 missed some places to really bash-complete the autopurge command. Partially closes #930295
-rw-r--r--completions/bash/apt4
1 files 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=( $( \