summaryrefslogtreecommitdiff
path: root/completions/groupmems
diff options
context:
space:
mode:
Diffstat (limited to 'completions/groupmems')
-rw-r--r--completions/groupmems14
1 files changed, 7 insertions, 7 deletions
diff --git a/completions/groupmems b/completions/groupmems
index 6e599a24..2e89a5ab 100644
--- a/completions/groupmems
+++ b/completions/groupmems
@@ -6,22 +6,22 @@ _groupmems()
_init_completion || return
case $prev in
- -a|--add|-d|--delete)
- COMPREPLY=( $(compgen -u -- "$cur") )
+ -a | --add | -d | --delete)
+ COMPREPLY=($(compgen -u -- "$cur"))
return
;;
- -g|--group)
- COMPREPLY=( $(compgen -g -- "$cur") )
+ -g | --group)
+ COMPREPLY=($(compgen -g -- "$cur"))
return
;;
- -R|--root)
+ -R | --root)
_filedir -d
return
;;
esac
- COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") )
+ COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
} &&
-complete -F _groupmems groupmems
+ complete -F _groupmems groupmems
# ex: filetype=sh