From cedc121ac39f5ee6a8749b8b8d83b277e011b1ef Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Tue, 3 Jun 2025 10:04:01 +1000 Subject: [PATCH] Add "undefined" to +ednsflags description Reflow help message. (cherry picked from commit bbfb7ebda2da0998ec04adf6553f115b1b8ef302) --- bin/dig/dig.c | 51 +++++++++++++++++++++++++++++++++------------------ 1 file changed, 33 insertions(+), 18 deletions(-) diff --git a/bin/dig/dig.c b/bin/dig/dig.c index e7731344c8..0d6f9fb707 100644 --- a/bin/dig/dig.c +++ b/bin/dig/dig.c @@ -208,7 +208,8 @@ help(void) { " +[no]dnssec (Request DNSSEC records)\n" " +domain=### (Set default domainname)\n" " +[no]edns[=###] (Set EDNS version) [0]\n" - " +ednsflags=### (Set EDNS flag bits)\n" + " +ednsflags=### (Set undefined EDNS flag " + "bits)\n" " +[no]ednsnegotiation (Set EDNS version " "negotiation)\n" " +ednsopt=###[:value] (Send specified EDNS " @@ -224,12 +225,14 @@ help(void) { " +[no]https[=###] (DNS-over-HTTPS mode) " "[/]\n" " +[no]https-get (Use GET instead of " - "default POST method while using HTTPS)\n" - " +[no]http-plain[=###] (DNS over plain HTTP " - "mode) " - "[/]\n" - " +[no]http-plain-get (Use GET instead of " - "default POST method while using plain HTTP)\n" + "default POST method\n" + " while using HTTPS)\n" + " +[no]http-plain[=###] (DNS over plain HTTP " + "mode) [/]\n" + " +[no]http-plain-get (Use GET instead of " + "default POST " + "method\n" + " while using plain HTTP)\n" " +[no]identify (ID responders in short " "answers)\n" #ifdef HAVE_LIBIDN2 @@ -256,15 +259,23 @@ help(void) { " +padding=### (Set padding block size " "[0])\n" " " - "+[no]proxy[=src_addr[#src_port]-dst_addr[#dst_port]] " - "(Add PROXYv2 headers to the queries. If addresses are omitted, " - "LOCAL PROXYv2 headers are added)\n" + "+[no]proxy[=src_addr[#src_port]-dst_addr[#dst_port]]\n" + " (Add PROXYv2 headers to " + "the queries. If\n" + " addresses are omitted, " + "LOCAL PROXYv2\n" + " headers are added)\n" " " - "+[no]proxy-plain[=src_addr[#src_port]-dst_addr[#dst_port]] " - "(The same as '+[no]proxy', but send PROXYv2 headers ahead of " - "any encryption if an encrypted transport is used)\n" + "+[no]proxy-plain[=src_addr[#src_port]-dst_addr[#dst_port]]\n" + " (The same as'+[no]proxy', " + "but send PROXYv2\n" + " headers ahead of any " + "encryption if an\n" + " encrypted transport is " + "used)\n" " +qid=### (Specify the query ID to " - "use when sending queries)\n" + "use when sending\n" + " queries)\n" " +[no]qr (Print question before " "sending)\n" " +[no]question (Control display of " @@ -302,15 +313,19 @@ help(void) { " +timeout=### (Set query timeout) [5]\n" " +[no]tls (DNS-over-TLS mode)\n" " +[no]tls-ca[=file] (Enable remote server's " - "TLS certificate validation)\n" + "TLS certificate\n" + " validation)\n" " +[no]tls-hostname=hostname (Explicitly set " - "the expected TLS hostname)\n" + "the expected TLS\n" + " hostname)\n" " +[no]tls-certfile=file (Load client TLS " - "certificate chain from file)\n" + "certificate chain from\n" + " file)\n" " +[no]tls-keyfile=file (Load client TLS " "private key from file)\n" " +[no]trace (Trace delegation down " - "from root [implies +dnssec])\n" + "from root [implies\n" + " +dnssec])\n" " +tries=### (Set number of UDP " "attempts) [3]\n" " +[no]ttlid (Control display of ttls "