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

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

    if [[ $cur == -* ]]; then
        _comp_compgen -- -W '--marshal --pickle --noprint --help'
    else
        _comp_compgen_filedir
    fi

} &&
    complete -F _comp_cmd_dumpdb dumpdb

# ex: filetype=sh