From 1cb11615aa337d98022a48c1c3c8c5c33b0b57c2 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Wed, 2 Jul 2003 10:25:05 +0000 Subject: merge changes back from 4.1 --- Completion/Unix/Command/_ant | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Completion/Unix/Command/_ant') diff --git a/Completion/Unix/Command/_ant b/Completion/Unix/Command/_ant index 473fdf33c..e81fbfc02 100644 --- a/Completion/Unix/Command/_ant +++ b/Completion/Unix/Command/_ant @@ -1,7 +1,7 @@ #compdef ant typeset -A opt_args -local state line curcontext="$curcontext" +local state line curcontext="$curcontext" ret=1 local target='*:target:->target' _arguments -C \ @@ -21,11 +21,13 @@ _arguments -C \ '-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 + $target && ret=0 if [[ -n $state ]]; then targets=( $(sed -n 's/ *