[Bash-completion-commits] [bash-completion] 01/03: ant: Don't offer more completions after options that exit
Ville Skyttä
scop-guest at moszumanska.debian.org
Sun Jul 20 08:53:22 UTC 2014
This is an automated email from the git hooks/post-receive script.
scop-guest pushed a commit to branch master
in repository bash-completion.
commit 98d6b5e440fc666256cfb3ee2fe2f07da45f31a7
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sun Jul 20 11:20:40 2014 +0300
ant: Don't offer more completions after options that exit
---
completions/ant | 3 +++
1 file changed, 3 insertions(+)
diff --git a/completions/ant b/completions/ant
index dd3606d..c020550 100644
--- a/completions/ant
+++ b/completions/ant
@@ -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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git
More information about the Bash-completion-commits
mailing list