cppcheck: Add new option arguments completions (added in cppcheck-1.51).

This commit is contained in:
Igor Murzov 2011-10-09 22:18:38 +04:00
parent d54fcf100e
commit ec5762cba9

View File

@ -34,11 +34,11 @@ _cppcheck()
return
;;
--std)
COMPREPLY=( $( compgen -W 'posix' -- "$cur" ) )
COMPREPLY=( $( compgen -W 'c99 posix' -- "$cur" ) )
return
;;
--platform)
COMPREPLY=( $( compgen -W 'unix32 unix64 win32 win64' -- "$cur" ) )
COMPREPLY=( $( compgen -W 'unix32 unix64 win32A win32W win64' -- "$cur" ) )
return
;;
--xml-version)