diff options
Diffstat (limited to 'completions/userdel')
-rw-r--r-- | completions/userdel | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/completions/userdel b/completions/userdel index 05bc2f75..7d637d2e 100644 --- a/completions/userdel +++ b/completions/userdel @@ -6,21 +6,21 @@ _userdel() _init_completion || return case $prev in - -h|--help) + --help|-!(-*)h) return ;; - -R|--root) + --root|-!(-*)R) _filedir -d return ;; esac if [[ "$cur" == -* ]]; then - COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) ) + COMPREPLY=( $(compgen -W '$(_parse_help "$1")' -- "$cur") ) return fi - COMPREPLY=( $( compgen -u -- "$cur" ) ) + COMPREPLY=( $(compgen -u -- "$cur") ) } && complete -F _userdel userdel |