19 lines
371 B
Bash

# 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