25 lines
449 B
Bash

# mailman dumpdb completion
_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
# Local variables:
# mode: shell-script
# sh-basic-offset: 4
# sh-indent-comment: t
# indent-tabs-mode: nil
# End:
# ex: ts=4 sw=4 et filetype=sh