# gendiff(1) completion                                    -*- shell-script -*-

_gendiff()
{
    local cur prev words cword
    _init_completion -o '@(diff|patch)' || return

    ((cword == 1)) && _filedir -d
} &&
    complete -F _gendiff gendiff

# ex: filetype=sh
