# mailmanctl completion -*- shell-script -*- proc _mailmanctl { local cur prev words cword _init_completion || return if [[ "$cur" == -* ]] { setglobal COMPREPLY = ''( $( compgen -W '--no-restart --run-as-user --stale-lock-cleanup --quiet --help' -- "$cur" ) ) } else { setglobal COMPREPLY = ''( $( compgen -W 'start stop restart reopen' -- "$cur" ) ) } } && complete -F _mailmanctl mailmanctl # ex: ts=4 sw=4 et filetype=sh