about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Debian/Command/_aptitude2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e3c344d94..be9d758e8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-22  Clint Adams  <clint@zsh.org>
+
+	* 24728: Completion/Debian/Command/_aptitude: complete for
+	aptitude why and why-not.
+
 2008-03-22  Barton E. Schaefer  <schaefer@zsh.org>
 
 	* unposted: Doc/Zsh/params.yo: further documentation tweak for the
diff --git a/Completion/Debian/Command/_aptitude b/Completion/Debian/Command/_aptitude
index 4d52cca8e..285c601b8 100644
--- a/Completion/Debian/Command/_aptitude
+++ b/Completion/Debian/Command/_aptitude
@@ -54,7 +54,7 @@ case $state in
       search)
         _message -e patterns pattern
       ;;
-      download|show|changelog)
+      (download|show|changelog|why|why-not)
         _deb_packages avail && ret=0
       ;;
       (remove|purge|hold|unhold|reinstall|forbid-version|markauto|unmarkauto)