[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 300cf4be3b191be3a14cd0ac630852a12d9cd16a

Ville Skyttä ville.skytta at iki.fi
Mon Oct 19 21:54:44 UTC 2009


The following commit has been merged in the master branch:
commit 300cf4be3b191be3a14cd0ac630852a12d9cd16a
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Oct 20 00:54:36 2009 +0300

    Drop unnecessary short option completion choices.

diff --git a/contrib/ant b/contrib/ant
index de3e157..810b7da 100644
--- a/contrib/ant
+++ b/contrib/ant
@@ -33,12 +33,11 @@ _ant()
     esac
 
     if [[ "$cur" == -* ]]; then
-        COMPREPLY=( $( compgen -W '-help -h -projecthelp -p -version \
-            -diagnostics -quiet -q -verbose -v -debug -d -emacs -e \
-            -lib -logfile -l -logger -listener -noinput -buildfile \
-            -file -f -D -keep-going -k -propertyfile -inputhandler \
-            -find -s -nice -nouserlib -noclasspath -autoproxy \
-            -main' -- "$cur" ) )
+        COMPREPLY=( $( compgen -W '-help -projecthelp -version -diagnostics \
+            -quiet -verbose -debug -emacs -lib -logfile -logger -listener \
+            -noinput -buildfile -D -keep-going -propertyfile -inputhandler \
+            -find -s -nice -nouserlib -noclasspath -autoproxy -main' \
+            -- "$cur" ) )
     else
         # available targets completion
         # find which buildfile to use

-- 
bash-completion



More information about the Bash-completion-commits mailing list