- minor ant completion fix by Bart Vanhaute <bart.vanhaute@skynet.be>

This commit is contained in:
ianmacd 2003-08-22 05:12:51 +00:00
parent d166d7f705
commit 211fe940b6

View File

@ -1,6 +1,6 @@
# bash_completion - some programmable completion functions for bash 2.05b
#
# $Id: bash_completion,v 1.617 2003/08/21 09:55:40 ianmacd Exp $
# $Id: bash_completion,v 1.618 2003/08/22 07:12:51 ianmacd Exp $
#
# Copyright (C) Ian Macdonald <ian@caliban.org>
#
@ -2681,7 +2681,7 @@ _ant()
prev=${COMP_WORDS[COMP_CWORD-1]}
case "$prev" in
-buildfile)
-buildfile|-f)
_filedir 'xml'
return 0
;;
@ -2695,7 +2695,7 @@ _ant()
# relevant options completion
COMPREPLY=( $( compgen -W '-help -projecthelp -version -quiet \
-verbose -debug -emacs -logfile -logger \
-listener -buildfile -D -find' -- $cur ) )
-listener -buildfile -f -D -find' -- $cur ) )
else
# available targets completion
# find which buildfile to use