blob: dac1c5bf6701fcbcbbe0dc5ac7b8596d1e048cf6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# mailmanctl completion -*- shell-script -*-
_mailmanctl()
{
local cur prev words cword
_init_completion || return
if [[ "$cur" == -* ]]; then
COMPREPLY=( $(compgen -W '--no-restart --run-as-user
--stale-lock-cleanup --quiet --help' -- "$cur") )
else
COMPREPLY=( $(compgen -W 'start stop restart reopen' -- "$cur") )
fi
} &&
complete -F _mailmanctl mailmanctl
# ex: filetype=sh
|