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