summaryrefslogtreecommitdiff
path: root/completions/chpasswd
diff options
context:
space:
mode:
Diffstat (limited to 'completions/chpasswd')
-rw-r--r--completions/chpasswd7
1 files changed, 2 insertions, 5 deletions
diff --git a/completions/chpasswd b/completions/chpasswd
index d8a7e62c..499ec93b 100644
--- a/completions/chpasswd
+++ b/completions/chpasswd
@@ -18,11 +18,8 @@ _chpasswd()
$split && return 0
- if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
- [[ $COMPREPLY == *= ]] && compopt -o nospace
- return 0
- fi
+ COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
+ [[ $COMPREPLY == *= ]] && compopt -o nospace
} &&
complete -F _chpasswd chpasswd