summaryrefslogtreecommitdiffstats
path: root/completions/mmsitepass
diff options
context:
space:
mode:
Diffstat (limited to 'completions/mmsitepass')
-rw-r--r--completions/mmsitepass10
1 files changed, 5 insertions, 5 deletions
diff --git a/completions/mmsitepass b/completions/mmsitepass
index 49daae6..dcf38c7 100644
--- a/completions/mmsitepass
+++ b/completions/mmsitepass
@@ -1,15 +1,15 @@
# mailman mmsitepass completion -*- shell-script -*-
-_mmsitepass()
+_comp_cmd_mmsitepass()
{
- local cur prev words cword
- _init_completion || return
+ local cur prev words cword comp_args
+ _comp_initialize -- "$@" || return
if [[ $cur == -* ]]; then
- COMPREPLY=($(compgen -W '--listcreator --help' -- "$cur"))
+ _comp_compgen -- -W '--listcreator --help'
fi
} &&
- complete -F _mmsitepass mmsitepass
+ complete -F _comp_cmd_mmsitepass mmsitepass
# ex: filetype=sh