ant: Don't offer more completions after options that exit

This commit is contained in:
Ville Skyttä 2014-07-20 11:20:40 +03:00
parent d259e71758
commit 98d6b5e440

View File

@ -6,6 +6,9 @@ _ant()
_init_completion || return _init_completion || return
case $prev in case $prev in
-h|-help|--h|--help|-projecthelp|-p|-version|-diagnostics)
return 0
;;
-buildfile|-file|-f) -buildfile|-file|-f)
_filedir 'xml' _filedir 'xml'
return 0 return 0