Green Sky
227425b90e
git-subtree-dir: external/toxcore/c-toxcore git-subtree-split: 67badf69416a74e74f6d7eb51dd96f37282b8455
28 lines
692 B
Bash
28 lines
692 B
Bash
# tox-bootstrapd completion -*- shell-script -*-
|
|
|
|
_tox_bootstrapd()
|
|
{
|
|
local cur prev words cword split
|
|
_init_completion -s || return
|
|
|
|
case $prev in
|
|
--config)
|
|
_filedir
|
|
return
|
|
;;
|
|
--log-backend)
|
|
COMPREPLY=($(compgen -W 'stdout syslog' -- "$cur"))
|
|
return
|
|
;;
|
|
esac
|
|
|
|
$split && return
|
|
|
|
if type _bashcomp_try_faketty &>/dev/null; then
|
|
COMPREPLY=($(compgen -W '$(_parse_help _bashcomp_try_faketty "$1" --help)' -- "$cur"))
|
|
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
|
|
fi
|
|
} && complete -F _tox_bootstrapd tox-bootstrapd
|
|
|
|
# ex: filetype=sh
|