#compdef uu-split

autoload -U is-at-least

_uu-split() {
    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[@]}" \
'-b+[use suffixes of length N (default 2)]' \
'--bytes=[use suffixes of length N (default 2)]' \
'-C+[put at most SIZE bytes of lines per output file]' \
'--line-bytes=[put at most SIZE bytes of lines per output file]' \
'-l+[write to shell COMMAND file name is $FILE (Currently not implemented for Windows)]' \
'--lines=[write to shell COMMAND file name is $FILE (Currently not implemented for Windows)]' \
'--additional-suffix=[additional suffix to append to output file names]' \
'--filter=[write to shell COMMAND file name is $FILE (Currently not implemented for Windows)]' \
'-d+[use numeric suffixes instead of alphabetic]' \
'--numeric-suffixes=[use numeric suffixes instead of alphabetic]' \
'-a+[use suffixes of length N (default 2)]' \
'--suffix-length=[use suffixes of length N (default 2)]' \
'--verbose[print a diagnostic just before each output file is opened]' \
'-h[Prints help information]' \
'--help[Prints help information]' \
'-V[Prints version information]' \
'--version[Prints version information]' \
'::input:_files' \
'::prefix:_files' \
&& ret=0
    
}

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

_uu-split "$@"