summaryrefslogtreecommitdiff
path: root/completions/passwd
diff options
context:
space:
mode:
Diffstat (limited to 'completions/passwd')
-rw-r--r--completions/passwd8
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/passwd b/completions/passwd
index 5a1e5629..652a41e5 100644
--- a/completions/passwd
+++ b/completions/passwd
@@ -6,19 +6,19 @@ _passwd()
_init_completion || return
case $prev in
- --minimum|--maximum|--warning|--inactive|--help|--usage|-!(-*)[nxwi?])
+ --minimum | --maximum | --warning | --inactive | --help | --usage | -!(-*)[nxwi?])
return
;;
esac
- if [[ "$cur" == -* ]]; then
+ if [[ $cur == -* ]]; then
local opts=$(_parse_help "$1")
- COMPREPLY=( $(compgen -W '${opts:-$(_parse_usage "$1")}' -- "$cur") )
+ COMPREPLY=($(compgen -W '${opts:-$(_parse_usage "$1")}' -- "$cur"))
return
fi
_allowed_users
} &&
-complete -F _passwd passwd
+ complete -F _passwd passwd
# ex: filetype=sh