]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
The dig help message did not documents the -b, -k, and +noqr options,
authorMark Andrews <marka@isc.org>
Wed, 28 Nov 2001 04:35:14 +0000 (04:35 +0000)
committerMark Andrews <marka@isc.org>
Wed, 28 Nov 2001 04:35:14 +0000 (04:35 +0000)
and some options were less than logically grouped [RT #2151]

bin/dig/dig.c

index 29d2c4e31e1969e18a080e7e7d9633c73917c0e7..5257a590fe994ab26914017d81a6742ee3e7a631 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dig.c,v 1.157.2.3 2001/11/15 01:24:10 marka Exp $ */
+/* $Id: dig.c,v 1.157.2.4 2001/11/28 04:35:14 marka Exp $ */
 
 #include <config.h>
 #include <stdlib.h>
@@ -156,9 +156,11 @@ help(void) {
 "                 -x dot-notation     (shortcut for in-addr lookups)\n"
 "                 -n                  (nibble form for reverse IPv6 lookups)\n"
 "                 -f filename         (batch mode)\n"
+"                 -b address          (bind to source address)\n"
 "                 -p port             (specify port number)\n"
 "                 -t type             (specify query type)\n"
 "                 -c class            (specify query class)\n"
+"                 -k keyfile          (specify tsig key file)\n"
 "                 -y name:key         (specify named base64 tsig key)\n"
 "        d-opt    is of the form +keyword[=value], where keyword is:\n"
 "                 +[no]vc             (TCP mode)\n"
@@ -167,6 +169,7 @@ help(void) {
 "                 +tries=###          (Set number of UDP attempts) [3]\n"
 "                 +domain=###         (Set default domainname)\n"
 "                 +bufsize=###        (Set EDNS0 Max UDP packet size)\n"
+"                 +ndots=###          (Set NDOTS value)\n"
 "                 +[no]search         (Set whether to use searchlist)\n"
 "                 +[no]defname        (Ditto)\n"
 "                 +[no]recursive      (Recursive mode)\n"
@@ -177,7 +180,6 @@ help(void) {
 "                 +[no]aaonly         (Set AA flag in query)\n"
 "                 +[no]adflag         (Set AD flag in query)\n"
 "                 +[no]cdflag         (Set CD flag in query)\n"
-"                 +ndots=###          (Set NDOTS value)\n"
 "                 +[no]cmd            (Control display of command line)\n"
 "                 +[no]comments       (Control display of comment lines)\n"
 "                 +[no]question       (Control display of question)\n"
@@ -188,7 +190,7 @@ help(void) {
 "                 +[no]short          (Disable everything except short\n"
 "                                      form of answer)\n"
 "                 +[no]all            (Set or clear all display flags)\n"
-"                 +qr                 (Print question before sending)\n"
+"                 +[no]qr             (Print question before sending)\n"
 "                 +[no]nssearch       (Search all authoritative nameservers)\n"
 "                 +[no]identify       (ID responders in short answers)\n"
 "                 +[no]trace          (Trace delegation down from root)\n"