cppcheck: Complete new --relative-paths option arguments
(introduced in cppcheck-1.54).
This commit is contained in:
parent
4710d1bf48
commit
587d26834a
@ -48,6 +48,12 @@ _cppcheck()
|
|||||||
-- "$cur" ) )
|
-- "$cur" ) )
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
-rp|--relative-paths)
|
||||||
|
if $split; then # -rp without argument is allowed
|
||||||
|
_filedir -d
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
;;
|
||||||
--xml-version)
|
--xml-version)
|
||||||
COMPREPLY=( $( compgen -W '1 2' -- "$cur" ) )
|
COMPREPLY=( $( compgen -W '1 2' -- "$cur" ) )
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user