#compdef uu-csplit

autoload -U is-at-least

_uu-csplit() {
    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 sprintf FORMAT instead of %02d]' \
'--suffix-format=[use sprintf FORMAT instead of %02d]' \
'-f+[use PREFIX instead of '\''xx'\'']' \
'--prefix=[use PREFIX instead of '\''xx'\'']' \
'-n+[use specified number of digits instead of 2]' \
'--digits=[use specified number of digits instead of 2]' \
'-k[do not remove output files on errors]' \
'--keep-files[do not remove output files on errors]' \
'--suppress-matched[suppress the lines matching PATTERN]' \
'-s[do not print counts of output file sizes]' \
'--quiet[do not print counts of output file sizes]' \
'-z[remove empty output files]' \
'--elide-empty-files[remove empty output files]' \
'-h[Prints help information]' \
'--help[Prints help information]' \
'-V[Prints version information]' \
'--version[Prints version information]' \
':file:_files' \
':pattern:_files' \
&& ret=0
    
}

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

_uu-csplit "$@"