summaryrefslogtreecommitdiff
path: root/completions/luserdel
diff options
context:
space:
mode:
Diffstat (limited to 'completions/luserdel')
-rw-r--r--completions/luserdel10
1 files changed, 5 insertions, 5 deletions
diff --git a/completions/luserdel b/completions/luserdel
index ee2b4fdb..e36bda9f 100644
--- a/completions/luserdel
+++ b/completions/luserdel
@@ -6,18 +6,18 @@ _luserdel()
_init_completion || return
case $prev in
- --help|--usage|-!(-*)[?]*)
+ --help | --usage | -!(-*)[?]*)
return
;;
esac
- if [[ "$cur" == -* ]]; then
- COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
+ if [[ $cur == -* ]]; then
+ COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
return
fi
- COMPREPLY=( $(compgen -u -- "$cur") )
+ COMPREPLY=($(compgen -u -- "$cur"))
} &&
-complete -F _luserdel luserdel
+ complete -F _luserdel luserdel
# ex: filetype=sh