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 return
;; ;;
--std) --std)
COMPREPLY=( $( compgen -W 'posix' -- "$cur" ) ) COMPREPLY=( $( compgen -W 'c99 posix' -- "$cur" ) )
return return
;; ;;
--platform) --platform)
COMPREPLY=( $( compgen -W 'unix32 unix64 win32 win64' -- "$cur" ) ) COMPREPLY=( $( compgen -W 'unix32 unix64 win32A win32W win64' -- "$cur" ) )
return return
;; ;;
--xml-version) --xml-version)