HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/share/bash-completion/completions/dhclient
# bash completion for dhclient                             -*- shell-script -*-

_dhclient()
{
    local cur prev words cword
    _init_completion || return

    case $prev in
        -cf|-lf|-pf|-sf)
            _filedir
            return
            ;;
        -s)
            _known_hosts_real "$cur"
            return
            ;;
    esac

    if [[ "$cur" == -* ]]; then
        COMPREPLY=( $( compgen -W '-p -d -q -1 -r -lf -pf -cf -sf -s -g -n -nw
            -w' -- "$cur" ) )
    else
        _available_interfaces
    fi
} &&
complete -F _dhclient dhclient

# ex: filetype=sh