summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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