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
--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)