cppcheck: Complete new --relative-paths option arguments

(introduced in cppcheck-1.54).
This commit is contained in:
Igor Murzov 2012-04-16 00:37:14 +04:00
parent 4710d1bf48
commit 587d26834a

View File

@ -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