summaryrefslogtreecommitdiffstats
path: root/completions/qrunner
blob: 3919ea25b2f0cf0dc18c55229885fca4a8c292bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# mailman qrunner completion                               -*- shell-script -*-

_qrunner()
{
    local cur prev words cword split
    _init_completion -s || return

    $split && return

    if [[ $cur == -* ]]; then
        COMPREPLY=($(compgen -W '--runner --once --list --verbose --subproc
            --help' -- "$cur"))
    fi

} &&
    complete -F _qrunner qrunner

# ex: filetype=sh