cppcheck: Add new options introduced in cppcheck-1.52.

This commit is contained in:
Igor Murzov 2011-12-14 18:56:41 +04:00
parent 260e2a1eeb
commit 3f74a9f918

View File

@ -7,11 +7,11 @@ _cppcheck()
case $prev in case $prev in
--append|--exitcode-suppressions|--file-list|--rule-file|\ --append|--exitcode-suppressions|--file-list|--rule-file|\
--suppressions-list|-i) --suppressions-list|--includes-file|-i)
_filedir _filedir
return return
;; ;;
-D|--rule|--suppress|--template) -D|-U|--rule|--suppress|--template|--max-configs)
return return
;; ;;
--enable) --enable)
@ -32,7 +32,7 @@ _cppcheck()
return return
;; ;;
--std) --std)
COMPREPLY=( $( compgen -W 'c99 posix' -- "$cur" ) ) COMPREPLY=( $( compgen -W 'c99 c++11 posix' -- "$cur" ) )
return return
;; ;;
--platform) --platform)