summaryrefslogtreecommitdiff
path: root/completions/gpasswd
diff options
context:
space:
mode:
Diffstat (limited to 'completions/gpasswd')
-rw-r--r--completions/gpasswd6
1 files changed, 3 insertions, 3 deletions
diff --git a/completions/gpasswd b/completions/gpasswd
index eb5a7e48..ada12b8d 100644
--- a/completions/gpasswd
+++ b/completions/gpasswd
@@ -8,18 +8,18 @@ _gpasswd()
case $prev in
-a|--add|-d|--delete|-A|--administrators|-M|--members)
COMPREPLY=( $( compgen -u -- "$cur" ) )
- return 0
+ return
;;
esac
if [[ "$cur" == -* ]]; then
# TODO: only -A and -M can be combined
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
- return 0
+ return
fi
COMPREPLY=( $( compgen -g -- "$cur" ) )
} &&
complete -F _gpasswd gpasswd
-# ex: ts=4 sw=4 et filetype=sh
+# ex: filetype=sh