summaryrefslogtreecommitdiff
path: root/completions/list_owners
diff options
context:
space:
mode:
Diffstat (limited to 'completions/list_owners')
-rw-r--r--completions/list_owners8
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/list_owners b/completions/list_owners
index 18b52476..445be0bd 100644
--- a/completions/list_owners
+++ b/completions/list_owners
@@ -5,14 +5,14 @@ _list_owners()
local cur prev words cword
_init_completion || return
- if [[ "$cur" == -* ]]; then
- COMPREPLY=( $(compgen -W '--with-listnames --moderators --help' \
- -- "$cur") )
+ if [[ $cur == -* ]]; then
+ COMPREPLY=($(compgen -W '--with-listnames --moderators --help' \
+ -- "$cur"))
else
_xfunc list_lists _mailman_lists
fi
} &&
-complete -F _list_owners list_owners
+ complete -F _list_owners list_owners
# ex: filetype=sh