From d23d04d6aa13df9dd1e6ee6e9cb47f2e7b8f78cb 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 | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/bin/dig/dig.c b/bin/dig/dig.c index 1e724c6185..db73a74d9f 100644 --- a/bin/dig/dig.c +++ b/bin/dig/dig.c @@ -216,7 +216,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 " @@ -232,12 +233,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 @@ -266,7 +269,8 @@ help(void) { " +padding=### (Set padding block size " "[0])\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 " @@ -303,16 +307,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 " - "[+dnssec])\n" + "from root [implies\n" + " +dnssec])\n" " +tries=### (Set number of UDP " "attempts) [3]\n" " +[no]ttlid (Control display of ttls "