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

_check_db()
{
    local cur prev words cword
    _init_completion || return

    if [[ "$cur" == -* ]]; then
        COMPREPLY=( $(compgen -W '--all --verbose --help' -- "$cur") )
    else
        _xfunc list_lists _mailman_lists
    fi

} &&
complete -F _check_db check_db

# ex: filetype=sh