From abd18275a4c27bc76d26e5111b4cb9c33e2ae7d7 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 8 Jan 2003 15:14:50 +0000 Subject: 18058, 18060: merge from 4.1 --- Completion/Unix/Command/_ant | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'Completion/Unix/Command/_ant') diff --git a/Completion/Unix/Command/_ant b/Completion/Unix/Command/_ant index c1baf6f69..5edc6dd63 100644 --- a/Completion/Unix/Command/_ant +++ b/Completion/Unix/Command/_ant @@ -1,16 +1,9 @@ -#compdef ant -value-,ANT_ARGS,-default- +#compdef ant typeset -A opt_args local state line curcontext="$curcontext" local target='*:target:->target' -if [[ $service = *ANT_ARGS* ]]; then - compset -q - words=( fake "$words[@]" ) - (( CURRENT++ )) - unset target -fi - _arguments -C \ '-help[display usage information]' \ '-projecthelp[print project hjelp information]' \ @@ -25,7 +18,7 @@ _arguments -C \ '-listener[add an instance of class as a project listener]:classname:_java_class' \ '(-f -file -buildfile)'{-f,-file,-buildfile}'[use specified build file]:build file:_files' \ '*-D[specify property with value to use]:property' \ - '-propertyfile[load properties from specfied file]:property file:_files' \ + '-propertyfile[load properties from specified file]:property file:_files' \ '-inputhandler[specify class which will handle input requests]:class:_java_class' \ '-find[search for buildfile]:file:_files' \ $target && return -- cgit 1.4.1