cppcheck: -i also accepts file names.

This commit is contained in:
Igor Murzov 2011-09-21 03:31:52 +04:00
parent c7b9d08d17
commit fd57faa534

View File

@ -9,7 +9,7 @@ _cppcheck()
case $prev in
--append|--exitcode-suppressions|--file-list|--rule-file|\
--suppressions-list)
--suppressions-list|-i)
_filedir
return
;;
@ -25,7 +25,7 @@ _cppcheck()
COMPREPLY=( $( compgen -W '{0..255}' -- "$cur" ) )
return
;;
-I|-i)
-I)
_filedir -d
return
;;