summaryrefslogtreecommitdiff
path: root/completions/userdel
blob: aafd00ebad2e43a3e315e291777af2202a45d08f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# userdel(8) completion                                    -*- shell-script -*-

_userdel()
{
    local cur prev words cword
    _init_completion || return

    if [[ "$cur" == -* ]]; then
        COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
        return 0
    fi

    COMPREPLY=( $( compgen -u -- "$cur" ) )
} &&
complete -F _userdel userdel

# ex: ts=4 sw=4 et filetype=sh