#compdef uu-uname

autoload -U is-at-least

_uu-uname() {
    typeset -A opt_args
    typeset -a _arguments_options
    local ret=1

    if is-at-least 5.2; then
        _arguments_options=(-s -S -C)
    else
        _arguments_options=(-s -C)
    fi

    local context curcontext="$curcontext" state line
    _arguments "${_arguments_options[@]}" \
'-a[Behave as though all of the options -mnrsv were specified.]' \
'--all[Behave as though all of the options -mnrsv were specified.]' \
'-s[print the kernel name.]' \
'--kernel-name[print the kernel name.]' \
'-n[print the nodename (the nodename may be a name that the system is known by to a communications network).]' \
'--nodename[print the nodename (the nodename may be a name that the system is known by to a communications network).]' \
'-r[print the operating system release.]' \
'--kernel-release[print the operating system release.]' \
'-v[print the operating system version.]' \
'--kernel-version[print the operating system version.]' \
'-i[print the hardware platform (non-portable)]' \
'--hardware-platform[print the hardware platform (non-portable)]' \
'-m[print the machine hardware name.]' \
'--machine[print the machine hardware name.]' \
'-p[print the processor type (non-portable)]' \
'--processor[print the processor type (non-portable)]' \
'-o[print the operating system name.]' \
'--operating-system[print the operating system name.]' \
'-h[Prints help information]' \
'--help[Prints help information]' \
'-V[Prints version information]' \
'--version[Prints version information]' \
&& ret=0
    
}

(( $+functions[_uu-uname_commands] )) ||
_uu-uname_commands() {
    local commands; commands=(
        
    )
    _describe -t commands 'uu-uname commands' commands "$@"
}

_uu-uname "$@"