19 lines
386 B
Bash
19 lines
386 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: ts=4 sw=4 et filetype=sh
|