about summary refs log tree commit diff
path: root/Completion/Unix/Command/_dig
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2017-07-15 14:53:53 +0200
committerOliver Kiddle <opk@zsh.org>2017-07-15 14:53:53 +0200
commit8eaacb35419171b40e121c61323a5113e5f1977d (patch)
treeb4f0cef111df5651583a4866a04a3889cbe396df /Completion/Unix/Command/_dig
parent4a63a1793af5f3046af6a77db8aeeece523ebc61 (diff)
downloadzsh-8eaacb35419171b40e121c61323a5113e5f1977d.tar.gz
zsh-8eaacb35419171b40e121c61323a5113e5f1977d.tar.xz
zsh-8eaacb35419171b40e121c61323a5113e5f1977d.zip
41431: update options in assorted completions
Diffstat (limited to 'Completion/Unix/Command/_dig')
-rw-r--r--Completion/Unix/Command/_dig33
1 files changed, 27 insertions, 6 deletions
diff --git a/Completion/Unix/Command/_dig b/Completion/Unix/Command/_dig
index 2b851c91f..a4e175808 100644
--- a/Completion/Unix/Command/_dig
+++ b/Completion/Unix/Command/_dig
@@ -15,15 +15,33 @@ local -a alts args
   '*+'{no,}'tcp[use TCP instead of UDP for queries]'
   '*+'{no,}'ignore[ignore truncation in UDP responses]'
   '*+domain=[set search list to single domain]:domain:_hosts'
+  '*+dscp=[set DSCP code point for query]:code point (0..63)'
   '*+'{no,}'search[use search list defined in resolv.conf]'
   '*+'{no,}'showsearch[show intermediate results in domain search]'
+  '*+split[split hex/base64 fields into chunks]:width (characters) [56]'
   '*+'{no,}'aaonly[set aa flag in the query]'
+  '*+'{no,}'additional[print additional section of a reply]'
   '*+'{no,}'adflag[set the AD (authentic data) bit in the query]'
+  '*+'{no,}'badcookie[retry BADCOOKIE responses]'
   '*+'{no,}'cdflag[set the CD (checking disabled) bit in the query]'
-  '*+'{no,}'cl[display the CLASS whening printing the record]'
-  '*+'{no,}'ttlid[display the TTL whening printing the record]'
+  '*+'{no,}'class[display the CLASS whening printing the record]'
+  '*+'{no,}'cookie[add a COOKIE option to the request]'
+  '*+'{no,}'crypto[display cryptographic fields in DNSSEC records]'
+  '*+edns=[specify EDNS version for query]:version (0-255)'
+  '*+noedns[clear EDNS version to be sent]'
+  '*+ednsflags=[set EDNS flags bits]:flags'
+  '*+'{no,}'ednsnegotiation[set EDNS version negotiation]'
+  '*+ednsopt=[specify EDNS option]:code point'
+  '*+noedns[clear EDNS options to be sent]'
+  '*+'{no,}'expire[send an EDNS Expire option]'
+  '*+'{no,}'header-only[send query without a question section]'
+  '*+'{no,}'idnout[set conversion of IDN puny code on output]'
+  '*+'{no,}'keepopen[keep TCP socket open between queries]'
+  '*+'{no,}'mapped[allow mapped IPv4 over IPv6 to be used]'
   '*+'{no,}'recurse[set the RD (recursion desired) bit in the query]'
   '*+'{no,}'nssearch[search all authoritative nameservers]'
+  '*+opcode[set DNS message opcode of the request]:opcode [QUERY]:(QUERY IQUERY STATUS NOTIFY UPDATE)'
+  '*+noopcode[clear DNS message opcode]'
   '*+'{no,}'trace[trace delegation down from root]'
   '*+'{no,}'cmd[print initial comment in output]'
   '*+'{no,}'short[print terse output]'
@@ -34,15 +52,14 @@ local -a alts args
   '*+'{no,}'question[print question section of a query]'
   '*+'{no,}'answer[print answer section of a reply]'
   '*+'{no,}'authority[print authority section of a reply]'
-  '*+'{no,}'additional[print additional section of a reply]'
   '*+'{no,}'all[set all print/display flags]'
-  '*+time=[set query timeout]:timeout (seconds)'
+  '*+'{no,}'subnet[send EDNS client subnet option]:addr/prefix-length'
+  '*+timeout=[set query timeout]:timeout (seconds) [5]'
   '*+tries=[specify number of UDP query attempts]:tries'
   '*+retry=[specify number of UDP query retries]:retries'
+  '*+'{no,}'rrcomments[set display of per-record comments]'
   '*+ndots=[specify number of dots to be considered absolute]:dots'
   '*+bufsize=[specify UDP buffer size]:size (bytes)'
-  '*+edns=[specify EDNS version for query]:version (0-255)'
-  '*+noedns[clean EDNS version]'
   '*+'{no,}'multiline[verbose multi-line output]'
   '*+'{no,}'onesoa[AXFR prints only one soa record]'
   '*+'{no,}"fail[don't try next server on SERVFAIL]"
@@ -52,6 +69,10 @@ local -a alts args
   '*+trusted-key=[specify file conrtaing trusted kets]:file:_files'
   '*+'{no,}'topdown[do DNSSEC validation in top down mode]'
   '*+'{no,}'nsid[include EDNS name server ID request in query]'
+  '*+'{no,}'ttlid[display the TTL whening printing the record]'
+  '*+'{no,}'ttlunits[display the TTL in human-readable units]'
+  '*+'{no,}'unknownformat[print RDATA in RFC 3597 "unknown" format]'
+  '*+'{no,}'zflag[set Z flag in query]'
 )
 _arguments -s -C $args \
   '(- *)-h[display help information]' \