tomato-testing/other/bootstrap_daemon/bash-completion/completions/tox-bootstrapd
Green Sky 227425b90e Squashed 'external/toxcore/c-toxcore/' content from commit 67badf69
git-subtree-dir: external/toxcore/c-toxcore
git-subtree-split: 67badf69416a74e74f6d7eb51dd96f37282b8455
2023-07-25 11:53:09 +02:00

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