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" ) )
|
||||
return
|
||||
;;
|
||||
-rp|--relative-paths)
|
||||
if $split; then # -rp without argument is allowed
|
||||
_filedir -d
|
||||
return
|
||||
fi
|
||||
;;
|
||||
--xml-version)
|
||||
COMPREPLY=( $( compgen -W '1 2' -- "$cur" ) )
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user