|
Server IP : 161.35.85.9 / Your IP : 216.73.217.138 Web Server : nginx/1.30.4 System : Linux cheapdeb-ams3 7.1.13+deb14-amd64 #1 SMP PREEMPT_DYNAMIC Debian 7.1.13-1 (2026-09-03) x86_64 User : root ( 0) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/share/bash-completion/completions/ |
| [ Home ] | [ C0mmand ] | [ Upload File ] |
|---|
# kcov(1) completion -*- shell-script -*-
_comp_cmd_kcov()
{
local cur prev words cword was_split comp_args
_comp_initialize -s -n : -- "$@" || return
case "$prev" in
--pid | -p)
_comp_compgen_pids
return
;;
--sort-type | -s)
_comp_compgen -- -W 'filename percent reverse lines uncovered'
return
;;
--include-path | --exclude-path)
_comp_compgen_filedir
return
;;
--replace-src-path)
if [[ $cur == ?*:* ]]; then
_comp_compgen -c "${cur##*:}" filedir
else
_comp_compgen_filedir
compopt -o nospace
fi
return
;;
--limits | -l)
if [[ $cur == ?*,* ]]; then
prev="${cur%,*}"
cur="${cur##*,}"
_comp_compgen -- -W "{0..100}"
((${#COMPREPLY[@]} == 1)) &&
_comp_compgen -Rv COMPREPLY -- -P "$prev," -W '"$COMPREPLY"'
else
_comp_compgen -- -W "{0..100}"
((${#COMPREPLY[@]} == 1)) && COMPREPLY=("${COMPREPLY/%/,}")
compopt -o nospace
fi
return
;;
--title | -t | --include-pattern | --exclude-pattern | --path-strip-level)
# argument required but no completions available
return
;;
esac
[[ $was_split ]] && return
if [[ $cur == -* ]]; then
_comp_compgen_help
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
return
fi
_comp_compgen_filedir
} &&
complete -F _comp_cmd_kcov kcov
# ex: filetype=sh