# Install this file into directory /etc/bash_completion.d/ on a
# Debian Linux system. For other system read the documentation that
# comes with the bash-completion package.

have linkchecker &&
_linkcheck() {
    if type _optcomplete >/dev/null 2>&1; then
        _optcomplete "$@"
    else
        _filedir
    fi
    return 0
}
[ "$have" ] && complete -F _linkcheck linkchecker
