| Server IP : 104.21.84.107 / Your IP : 104.23.197.209 Web Server : Apache/2.4.63 (Ubuntu) System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.4.5 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/bash-completion/completions/ |
Upload File : |
# bash completion for cvsps -*- shell-script -*-
_comp_cmd_cvsps()
{
local cur prev words cword comp_args
_comp_initialize -n : -- "$@" || return
case $prev in
-h | -z | -f | -d | -l | --diff-opts | --debuglvl)
return
;;
-s)
_comp_compgen_split -- "$("$1" 2>/dev/null |
_comp_awk '/^PatchSet:?[ \t]/ { print $2 }')"
return
;;
-a)
_comp_compgen_split -- "$("$1" 2>/dev/null |
_comp_awk '/^Author:[ \t]/ { print $2 }')"
return
;;
-b)
_comp_compgen_split -- "$("$1" 2>/dev/null |
_comp_awk '/^Branch:[ \t]/ { print $2 }')"
return
;;
-r)
_comp_compgen_split -- "$("$1" 2>/dev/null |
_comp_awk '/^Tag:[ \t]+[^(]/ { print $2 }')"
return
;;
-p)
_comp_compgen_filedir -d
return
;;
--test-log)
_comp_compgen_filedir
return
;;
-Z)
_comp_compgen -- -W '{1..9}'
return
;;
--root)
_comp_compgen -x cvs roots
return
;;
esac
if [[ $cur == -* ]]; then
_comp_compgen_help -- -h
else
_comp_compgen -x cvs roots
fi
} &&
complete -F _comp_cmd_cvsps cvsps
# ex: filetype=sh