25 lines
474 B
Bash
25 lines
474 B
Bash
# mailman qrunner completion
|
|
|
|
_qrunner()
|
|
{
|
|
local cur prev words cword split
|
|
_init_completion -s || return
|
|
|
|
$split && return 0
|
|
|
|
if [[ "$cur" == -* ]]; then
|
|
COMPREPLY=( $( compgen -W '--runner --once \
|
|
--list --verbose --subproc --help' -- "$cur" ) )
|
|
fi
|
|
|
|
} &&
|
|
complete -F _qrunner qrunner
|
|
|
|
# Local variables:
|
|
# mode: shell-script
|
|
# sh-basic-offset: 4
|
|
# sh-indent-comment: t
|
|
# indent-tabs-mode: nil
|
|
# End:
|
|
# ex: ts=4 sw=4 et filetype=sh
|