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

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

    if [[ $cur == -* ]]; then
        _comp_compgen -- -W '-f -v -h'
    fi

} &&
    complete -F _comp_cmd_check_perms check_perms

# ex: filetype=sh