ant: Don't offer more completions after options that exit
This commit is contained in:
parent
d259e71758
commit
98d6b5e440
@ -6,6 +6,9 @@ _ant()
|
||||
_init_completion || return
|
||||
|
||||
case $prev in
|
||||
-h|-help|--h|--help|-projecthelp|-p|-version|-diagnostics)
|
||||
return 0
|
||||
;;
|
||||
-buildfile|-file|-f)
|
||||
_filedir 'xml'
|
||||
return 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user