]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add "undefined" to +ednsflags description
authorMark Andrews <marka@isc.org>
Tue, 3 Jun 2025 00:04:01 +0000 (10:04 +1000)
committerMark Andrews <marka@isc.org>
Fri, 13 Jun 2025 10:33:45 +0000 (20:33 +1000)
Reflow help message.

(cherry picked from commit bbfb7ebda2da0998ec04adf6553f115b1b8ef302)

bin/dig/dig.c

index e7731344c8fd2b75074c4c150706a5c72b353064..0d6f9fb707492e802ad1ff8691d4df657d6d8fd9 100644 (file)
@@ -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 "