mirror of
https://github.com/Gator96100/ProxSpace.git
synced 2025-01-24 19:52:58 -08:00
23 lines
500 B
Bash
23 lines
500 B
Bash
# 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
|