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

_comp_cmd_qrunner()
{
    local cur prev words cword was_split comp_args
    _comp_initialize -s -- "$@" || return

    [[ $was_split ]] && return

    if [[ $cur == -* ]]; then
        _comp_compgen -- -W '--runner --once --list --verbose --subproc --help'
    fi

} &&
    complete -F _comp_cmd_qrunner qrunner

# ex: filetype=sh