summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Murzov <e-mail@date.by>2011-12-14 18:56:41 +0400
committerIgor Murzov <e-mail@date.by>2011-12-14 18:56:41 +0400
commit3f74a9f918bfeaaae40e18332be1f3bf0a3c9414 (patch)
tree239bdd83e8bd4fd2520ce173cefa0258c99d6a60
parent260e2a1eeb7892daacea5294b9e3f5beb9054f60 (diff)
downloadbash-completion-3f74a9f918bfeaaae40e18332be1f3bf0a3c9414.tar.gz
cppcheck: Add new options introduced in cppcheck-1.52.
-rw-r--r--completions/cppcheck6
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/cppcheck b/completions/cppcheck
index 465f40d2..24b877a4 100644
--- a/completions/cppcheck
+++ b/completions/cppcheck
@@ -7,11 +7,11 @@ _cppcheck()
case $prev in
--append|--exitcode-suppressions|--file-list|--rule-file|\
- --suppressions-list|-i)
+ --suppressions-list|--includes-file|-i)
_filedir
return
;;
- -D|--rule|--suppress|--template)
+ -D|-U|--rule|--suppress|--template|--max-configs)
return
;;
--enable)
@@ -32,7 +32,7 @@ _cppcheck()
return
;;
--std)
- COMPREPLY=( $( compgen -W 'c99 posix' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W 'c99 c++11 posix' -- "$cur" ) )
return
;;
--platform)