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

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

    if [[ $cur == -* ]]; then
        COMPREPLY=($(compgen -W '--marshal --pickle --noprint --help' \
            -- "$cur"))
    else
        _filedir
    fi

} &&
    complete -F _dumpdb dumpdb

# ex: filetype=sh