cppcheck: Add new options introduced in cppcheck-1.52.
This commit is contained in:
parent
260e2a1eeb
commit
3f74a9f918
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user