summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bind/bin/dig/dig.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2020-01-02 10:27:46 +0000
committerschwarze <schwarze@openbsd.org>2020-01-02 10:27:46 +0000
commit060be53f07304c27122c33cad92b8c689e90b9d1 (patch)
treea31305a23418d4bfeb5145b49bcc148d4460ef96 /usr.sbin/bind/bin/dig/dig.c
parentRename orig_rtr_lsa_area() to orig_rtr_lsa() (diff)
downloadwireguard-openbsd-060be53f07304c27122c33cad92b8c689e90b9d1.tar.xz
wireguard-openbsd-060be53f07304c27122c33cad92b8c689e90b9d1.zip
manual page: drop +sit because it is merely a deprecated alias for +cookie
usage(): drop +defname because it is merely an alias for +search both: correct option spelling +cl -> +class, +time -> +timeout feedback and OK sthen@, OK jmc@
Diffstat (limited to 'usr.sbin/bind/bin/dig/dig.c')
-rw-r--r--usr.sbin/bind/bin/dig/dig.c29
1 files changed, 14 insertions, 15 deletions
diff --git a/usr.sbin/bind/bin/dig/dig.c b/usr.sbin/bind/bin/dig/dig.c
index 2781c167ece..4cb5a34a5e7 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.27 2019/12/31 19:18:16 jmc Exp $ */
+/* $Id: dig.c,v 1.28 2020/01/02 10:27:46 schwarze Exp $ */
/*! \file */
@@ -150,20 +150,19 @@ rcode_totext(dns_rcode_t rcode)
static void
print_usage(FILE *fp) {
fputs(
-"usage: dig [@server] [-46himuv] [-b address[#port]] [-c class] [-f file]\n"
-" [-k keyfile] [-p port] [-q name] [-t type] [-x addr]\n"
-" [-y [hmac:]name:key] [name] [type] [class]\n"
-" +[no]aaonly +[no]additional +[no]adflag +[no]all +[no]answer\n"
-" +[no]authority +[no]besteffort +bufsize=# +[no]cdflag +[no]cl\n"
-" +[no]cmd +[no]comments +[no]cookie[=value] +[no]crypto +[no]defname\n"
-" +[no]dnssec +domain=name +[no]edns[=#] +[no]ednsflags[=#]\n"
-" +[no]ednsnegotiation +[no]ednsopt[=code[:value]]\n"
-" +[no]expire +[no]fail +[no]identify +[no]idnout +[no]ignore\n"
-" +[no]keepopen +[no]multiline +ndots=# +[no]nsid +[no]nssearch\n"
-" +[no]onesoa +[no]opcode=# +[no]qr +[no]question +[no]recurse\n"
-" +retry=# +[no]rrcomments +[no]search +[no]short +[no]showsearch\n"
-" +[no]split=# +[no]stats +subnet=addr[/prefix] +[no]tcp +time=#\n"
-" +[no]trace +tries=# +[no]ttlid +[no]vc\n", fp);
+"usage: dig [@server] [-46himuv] [-b address[#port]] [-c class] [-f file]\n"
+" [-k keyfile] [-p port] [-q name] [-t type] [-x addr]\n"
+" [-y [hmac:]name:key] [name] [type] [class]\n"
+" +[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"
+" +[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]tcp +timeout=# +[no]trace +tries=# +[no]ttlid +[no]vc\n", fp);
}
ISC_PLATFORM_NORETURN_PRE static void