summaryrefslogtreecommitdiff
path: root/completions/cppcheck
diff options
context:
space:
mode:
Diffstat (limited to 'completions/cppcheck')
-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)