[Bash-completion-commits] ./current r1206: Added build-dep to aptitude's completion (Closes: #495883)

David Paleino d.paleino at gmail.com
Sat Nov 22 17:10:38 UTC 2008


------------------------------------------------------------
revno: 1206
committer: David Paleino <d.paleino at gmail.com>
branch nick: current
timestamp: Sat 2008-11-22 18:10:38 +0100
message:
  Added build-dep to aptitude's completion (Closes: #495883)
modified:
  bash_completion
  debian/changelog
-------------- next part --------------
=== modified file 'bash_completion'
--- a/bash_completion	2008-11-08 08:48:11 +0000
+++ b/bash_completion	2008-11-22 17:10:38 +0000
@@ -2312,7 +2312,7 @@
 		     -Z -v --verbose --purge-unused --schedule-only'
 
 	for (( i=0; i < ${#COMP_WORDS[@]}-1; i++ )); do
-	    if [[ ${COMP_WORDS[i]} == @(install|reinstall|hold|unhold|markauto|unmarkauto|dist-upgrade|full-upgrade|download|show|forbid-version|purge|remove|changelog|why|why-not|keep|keep-all) ]]; then
+	    if [[ ${COMP_WORDS[i]} == @(install|reinstall|hold|unhold|markauto|unmarkauto|dist-upgrade|full-upgrade|download|show|forbid-version|purge|remove|changelog|why|why-not|keep|keep-all|build-dep) ]]; then
 		special=${COMP_WORDS[i]}
 	    fi
 	    #exclude some mutually exclusive options
@@ -2322,7 +2322,7 @@
 
 	if [[ -n "$special" ]]; then
 	   case $special in
-	       @(install|hold|markauto|unmarkauto|dist-upgrade|full-upgrade|download|show|changelog|why|why-not))
+	       @(install|hold|markauto|unmarkauto|dist-upgrade|full-upgrade|download|show|changelog|why|why-not|build-dep))
 		   COMPREPLY=( $( apt-cache pkgnames $cur 2> /dev/null ) )
 		   return 0
 		   ;;

=== modified file 'debian/changelog'
--- a/debian/changelog	2008-11-22 16:22:54 +0000
+++ b/debian/changelog	2008-11-22 17:10:38 +0000
@@ -32,6 +32,7 @@
   * Fixed errors with POSIX enabled (Closes: #502804)
   * Fixed dpkg-source wrong exit() with return() (Closes: #)
   * Added --schedule-only to aptitude's completion (Closes: #502664)
+  * Added build-dep to aptitude's completion (Closes: #495883)
   * Added support for `-F configfile' to _known_hosts(), ssh, scp and 
     sftp, thanks to Freddy Vulto (Closes: #504141)
   * Fixed sed quoting bug in _known_hosts(), thanks to Freddy Vulto
@@ -44,7 +45,7 @@
   * debian/control:
     - fixed typo in the long description
 
- -- David Paleino <d.paleino at gmail.com>  Sat, 22 Nov 2008 17:22:28 +0100
+ -- David Paleino <d.paleino at gmail.com>  Sat, 22 Nov 2008 17:38:54 +0100
 
 bash-completion (20080705) unstable; urgency=low
 



More information about the Bash-completion-commits mailing list