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
|
_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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user