]> git.meshlink.io Git - meshlink/blobdiff - bash_completion.d/tinc
Add option to dump only a list of reachable nodes.
[meshlink] / bash_completion.d / tinc
index f486f877b66e7fbc76ac95a062837952818e5fa6..dd41874cdb724c937dc9c3a792b882e73e5818ac 100644 (file)
@@ -60,8 +60,8 @@ _tinc() {
                get|set|add|del)
                COMPREPLY=( $(compgen -W "${confvars}" -- ${cur}) )
                ;;
-               dump)
-               COMPREPLY=( $(compgen -W "nodes edges subnets connections graph" -- ${cur}) )
+               dump|reachable)
+               COMPREPLY=( $(compgen -W "reachable nodes edges subnets connections graph" -- ${cur}) )
                return 0
                ;;
        esac