[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-50-gb9189ce
Ville Skyttä
ville.skytta at iki.fi
Sun Oct 28 20:36:39 UTC 2012
The following commit has been merged in the master branch:
commit b9189ce170388d87c46a4a37f3e05dba0cd8878a
Author: Ville Skyttä <ville.skytta at iki.fi>
Date: Sun Oct 28 22:36:14 2012 +0200
cppcheck: Add --language/-x argument completion.
diff --git a/completions/cppcheck b/completions/cppcheck
index 2ee5359..ed9da3e 100644
--- a/completions/cppcheck
+++ b/completions/cppcheck
@@ -39,6 +39,10 @@ _cppcheck()
COMPREPLY=( $( compgen -W "{2..$(_ncpus)}" -- "$cur" ) )
return
;;
+ --language|-x)
+ COMPREPLY=( $( compgen -W 'c c++' -- "$cur" ) )
+ return
+ ;;
--std)
COMPREPLY=( $( compgen -W 'c89 c99 c11 c++03 c++11 posix' \
-- "$cur" ) )
--
bash-completion
More information about the Bash-completion-commits
mailing list