cppcheck: -i also accepts file names.
This commit is contained in:
parent
c7b9d08d17
commit
fd57faa534
@ -9,7 +9,7 @@ _cppcheck()
|
|||||||
|
|
||||||
case $prev in
|
case $prev in
|
||||||
--append|--exitcode-suppressions|--file-list|--rule-file|\
|
--append|--exitcode-suppressions|--file-list|--rule-file|\
|
||||||
--suppressions-list)
|
--suppressions-list|-i)
|
||||||
_filedir
|
_filedir
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
@ -25,7 +25,7 @@ _cppcheck()
|
|||||||
COMPREPLY=( $( compgen -W '{0..255}' -- "$cur" ) )
|
COMPREPLY=( $( compgen -W '{0..255}' -- "$cur" ) )
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
-I|-i)
|
-I)
|
||||||
_filedir -d
|
_filedir -d
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user