#compdef uu-comm

autoload -U is-at-least

_uu-comm() {
    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[@]}" \
'--output-delimiter=[separate columns with STR]' \
'-1[suppress column 1 (lines unique to FILE1)]' \
'-2[suppress column 2 (lines unique to FILE2)]' \
'-3[suppress column 3 (lines that appear in both files)]' \
'-h[Prints help information]' \
'--help[Prints help information]' \
'-V[Prints version information]' \
'--version[Prints version information]' \
':FILE1:_files' \
':FILE2:_files' \
&& ret=0
    
}

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

_uu-comm "$@"