diff options
| author | 2020-01-10 16:13:08 +0000 | |
|---|---|---|
| committer | 2020-01-10 16:13:08 +0000 | |
| commit | f381b437a2740bb89038be2cf57ee70e032f7c84 (patch) | |
| tree | 8df801a4652d04fabb8f8503bd0749878df39997 /usr.sbin/bind/bin/dig/dig.c | |
| parent | Use atomic operations with kq_refs, to nudge the code toward MP-safety. (diff) | |
| download | wireguard-openbsd-f381b437a2740bb89038be2cf57ee70e032f7c84.tar.xz wireguard-openbsd-f381b437a2740bb89038be2cf57ee70e032f7c84.zip | |
Handle documentation of the remaining, more complicated defaults
of query options:
* Add some missing information and improve some wordings.
* List the supported opcodes.
* Mention that +nosubnet is valid.
* Stop documenting the confusing +noednsflags
because it does the same as +ednsflags.
Using feedback from florian@ and wording help from jmc@; OK jmc@.
Diffstat (limited to 'usr.sbin/bind/bin/dig/dig.c')
| -rw-r--r-- | usr.sbin/bind/bin/dig/dig.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/bind/bin/dig/dig.c b/usr.sbin/bind/bin/dig/dig.c index 0bdec9351c1..f6f5dc16c11 100644 --- a/usr.sbin/bind/bin/dig/dig.c +++ b/usr.sbin/bind/bin/dig/dig.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dig.c,v 1.36 2020/01/09 18:17:14 florian Exp $ */ +/* $Id: dig.c,v 1.37 2020/01/10 16:13:08 schwarze Exp $ */ /*! \file */ #include <sys/cdefs.h> @@ -154,12 +154,12 @@ print_usage(FILE *fp) { " +[no]aaonly +[no]additional +[no]adflag +[no]all +[no]answer\n" " +[no]authority +[no]besteffort +bufsize=# +[no]cdflag +[no]class\n" " +[no]cmd +[no]comments +[no]cookie[=value] +[no]crypto +[no]dnssec\n" -" +domain=name +[no]edns[=#] +[no]ednsflags[=#] +[no]ednsnegotiation\n" +" +domain=name +[no]edns[=#] +ednsflags[=#] +[no]ednsnegotiation\n" " +[no]ednsopt[=code[:value]] +[no]expire +[no]fail +[no]identify\n" " +[no]ignore +[no]keepopen +[no]multiline +ndots=# +[no]nsid\n" " +[no]nssearch +[no]onesoa +[no]opcode=# +[no]qr +[no]question\n" " +[no]recurse +retry=# +[no]rrcomments +[no]search +[no]short\n" -" +[no]showsearch +[no]split=# +[no]stats +subnet=addr[/prefix]\n" +" +[no]showsearch +[no]split=# +[no]stats +[no]subnet=addr[/prefix]\n" " +[no]tcp +timeout=# +[no]trace +tries=# +[no]ttlid +[no]vc\n", fp); } |
