summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2025-08-16 20:34:05 +0000
committerJulian Andres Klode <jak@debian.org>2025-08-16 20:34:05 +0000
commit738dfcbeafe18ed49fc99926e29226702bc24c24 (patch)
tree319a627c92efa2742bd95479455ee1722d1f7758
parent8d9ea25bc7e908f25baee2448e80f6bbd820173f (diff)
parent704742352e53a44a38dfe09e4be4c6494cfa7fdc (diff)
Merge branch 'apt/why/not' into 'main'
completion: apt why/why-not See merge request apt-team/apt!505
-rw-r--r--completions/bash/apt6
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/bash/apt b/completions/bash/apt
index 9881d5c29..c249f97b1 100644
--- a/completions/bash/apt
+++ b/completions/bash/apt
@@ -49,7 +49,7 @@ _apt()
"download" "changelog"
"moo"
"modernize-sources"
- "depends" "rdepends"
+ "depends" "rdepends" "why" "why-not"
"policy")
local command i
@@ -176,7 +176,7 @@ _apt()
# specific command arguments
if [[ -v command ]]; then
case $command in
- remove|purge|autoremove|autopurge)
+ remove|purge|autoremove|autopurge|why)
if [[ -f /etc/debian_version ]]; then
# Debian system
COMPREPLY=( $( \
@@ -187,7 +187,7 @@ _apt()
fi
return 0
;;
- show|list|download|changelog|depends|rdepends)
+ show|list|download|changelog|depends|rdepends|why-not)
COMPREPLY=( $( apt-cache --no-generate pkgnames "$cur" \
2> /dev/null ) )
return 0