Skip to content

Commit 43688b7

Browse files
molikunermr-karan
authored andcommitted
Update ZSH completion to include all current options
GH-60
1 parent 8e6797f commit 43688b7

File tree

1 file changed

+16
-6
lines changed

1 file changed

+16
-6
lines changed

completions/doggo.zsh

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,23 @@
33
_doggo() {
44
_arguments \
55
"(- 1 *)"{-v,--version}"[Show version of doggo]" \
6-
"(- 1 *)"{-\?,--help}"[Show list of command-line options]" \
7-
{-q,--query}"[Hostname to query the DNS records for]::_hosts" \
8-
{-t,--type}"[Type of the DNS Record]:(record type):(A AAAA CAA CNAME HINFO MX NS PTR SOA SRV TXT)" \
9-
{-n,--nameserver}"[Address of a specific nameserver to send queries to]::_hosts;" \
10-
{-c,--class}"[Network class of the DNS record being queried]:(network class):(IN CH HS)" \
6+
"(- 1 *)"{-h,--help}"[Show list of command-line options]" \
7+
{-q,--query=}"[Hostname to query the DNS records for]::_hosts" \
8+
{-t,--type=}"[Type of the DNS Record]:(record type):(A AAAA CAA CNAME HINFO MX NS PTR SOA SRV TXT)" \
9+
{-n,--nameserver=}"[Address of a specific nameserver to send queries to]::_hosts;" \
10+
{-c,--class=}"[Network class of the DNS record being queried]:(network class):(IN CH HS)" \
11+
{-r,--reverse}"[Performs a DNS Lookup for an IPv4 or IPv6 address]" \
12+
--strategy="[Strategy to query nameserver listed in etc/resolv.conf]:(strategy):(all random first)" \
13+
--ndots="[Number of requred dots in hostname to assume FQDN]:(number of dots):()" \
14+
--search"[Defaults to true. Set --search=false to not use the search list defined in resolve.conf]:(setting):(true false)" \
15+
--timeout"[Timeout (in seconds) for the resolver to return a response]:(seconds):()" \
16+
{-4,--ipv4}"[Use IPv4 only]" \
17+
{-6,--ipv6}"[Use IPv6 only]" \
18+
--tls-hostname="[Hostname used for verification of certificate incase the provided DoT nameserver is an IP]::_hosts" \
19+
--skip-hostname-verification"[Skip TLS hostname verification in case of DoT lookups]" \
1120
{-J,--json}"[Format the output as JSON]" \
12-
--color"[Defaults to true. Set --color=false to disable colored output]:(setting):(true false)" \
21+
--short"[Shows only the response section in the output]" \
22+
--color="[Defaults to true. Set --color=false to disable colored output]:(setting):(true false)" \
1323
--debug"[Enable debug logging]:(setting):(true false)" \
1424
--time"[Shows how long the response took from the server]" \
1525
'*:hostname:_hosts'

0 commit comments

Comments
 (0)