cppcheck: Add new standards to --std option.

These were introduced in cppcheck-1.56.
This commit is contained in:
Igor Murzov 2012-09-05 15:34:56 +04:00
parent 7f1721dd90
commit 1c362f4c99

View File

@ -40,7 +40,8 @@ _cppcheck()
return
;;
--std)
COMPREPLY=( $( compgen -W 'c99 c++11 posix' -- "$cur" ) )
COMPREPLY=( $( compgen -W 'c89 c99 c11 c++03 c++11 posix' \
-- "$cur" ) )
return
;;
--platform)