19 lines
408 B
Bash
19 lines
408 B
Bash
# mailman qrunner completion -*- shell-script -*-
|
|
|
|
_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
|
|
|
|
# ex: ts=4 sw=4 et filetype=sh
|