summaryrefslogtreecommitdiffstats
path: root/completions/radvdump
diff options
context:
space:
mode:
Diffstat (limited to 'completions/radvdump')
-rw-r--r--completions/radvdump22
1 files changed, 22 insertions, 0 deletions
diff --git a/completions/radvdump b/completions/radvdump
new file mode 100644
index 0000000..850628f
--- /dev/null
+++ b/completions/radvdump
@@ -0,0 +1,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