summaryrefslogtreecommitdiffstats
path: root/completions/radvdump
blob: 850628fdaa962fe54d8a980f508b6f89b2cd615f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# radvdump(8) completion                                   -*- shell-script -*-

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

    case $prev in
        -h | --help | -v | --version)
            return
            ;;
        -d | --debug)
            COMPREPLY=($(compgen -W '{1..4}' -- "$cur"))
            return
            ;;
    esac

    COMPREPLY=($(compgen -W '$(_parse_usage "$1" --help)' -- "$cur"))
} &&
    complete -F _radvdump radvdump

# ex: filetype=sh