fish-shell/share/completions/resolvectl.fish

32 lines
2.3 KiB
Fish
Raw Normal View History

2021-04-15 13:35:08 +00:00
#resolvectl (systemd 248)
#variables
set -l seen __fish_seen_subcommand_from
2021-04-15 13:35:08 +00:00
set -l commands default-route dns dnsovertls dnssec domain flush-caches llmnr log-level mdns nta openpgp query reset-server-features reset-statistics revert service statistics status tlsa
#commands
complete -c resolvectl -x -n "not $seen $commands" -a "$commands"
#options
2020-03-22 13:29:35 +00:00
complete -c resolvectl -f -n "not $seen $commands" -s 4 -d "Resolve IPv4 addresses"
complete -c resolvectl -f -n "not $seen $commands" -s 6 -d "Resolve IPv6 addresses"
2021-04-15 13:35:08 +00:00
complete -c resolvectl -x -n "not $seen $commands" -l cache -d "Allow response from cache"
2020-03-22 13:29:35 +00:00
complete -c resolvectl -x -n "not $seen $commands" -l class -s c -d "Query RR with DNS class"
complete -c resolvectl -x -n "not $seen $commands" -l cname -d "Follow CNAME redirects"
complete -c resolvectl -f -n "not $seen $commands" -l help -s h -d "Show this help"
complete -c resolvectl -x -n "not $seen $commands" -l interface -s i -d "Look on interface"
complete -c resolvectl -x -n "not $seen $commands" -l legend -d "Print headers and additional info"
2021-04-15 13:35:08 +00:00
complete -c resolvectl -x -n "not $seen $commands" -l network -d "Allow response from network"
2020-03-22 13:29:35 +00:00
complete -c resolvectl -f -n "not $seen $commands" -l no-pager -d "Do not pipe output into a pager"
complete -c resolvectl -x -n "not $seen $commands" -l protocol -s p -d "Look via protocol"
complete -c resolvectl -f -n "not $seen $commands" -l raw -d "Dump the answer as binary data"
complete -c resolvectl -x -n "not $seen $commands" -l search -d "Use search domains for single-label names"
complete -c resolvectl -x -n "not $seen $commands" -l service-address -d "Resolve address for services"
complete -c resolvectl -x -n "not $seen $commands" -l service-txt -d "Resolve TXT records for services"
2021-04-15 13:35:08 +00:00
complete -c resolvectl -x -n "not $seen $commands" -l synthesize -d "Allow synthetic response"
complete -c resolvectl -x -n "not $seen $commands" -l trust-anchor -d "Allow response from local trust anchor"
2020-03-22 13:29:35 +00:00
complete -c resolvectl -x -n "not $seen $commands" -l type -s t -d "Query RR with DNS type"
2021-04-15 13:35:08 +00:00
complete -c resolvectl -x -n "not $seen $commands" -l validate -d "Allow DNSSEC validation"
2020-03-22 13:29:35 +00:00
complete -c resolvectl -f -n "not $seen $commands" -l version -d "Show package version"
2021-04-15 13:35:08 +00:00
complete -c resolvectl -x -n "not $seen $commands" -l zone -d "Allow response from locally registered mDNS/LLMNR records"