]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorAndreas Gustafsson <source@isc.org>
Tue, 11 Sep 2001 01:37:48 +0000 (01:37 +0000)
committerAndreas Gustafsson <source@isc.org>
Tue, 11 Sep 2001 01:37:48 +0000 (01:37 +0000)
 987.   [bug]           "dig -help" didn't show "+[no]stats".

 986.   [bug]           "dig +noall" failed to clear stats and command
                        printing.

CHANGES
bin/dig/dig.c

diff --git a/CHANGES b/CHANGES
index fd41141f49450d610b549579e440fbba25e1035f..21cff7b0f5dc4fb832844028e442df3d23e10002 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,4 +1,9 @@
 
+ 987.  [bug]           "dig -help" didn't show "+[no]stats".
+
+ 986.  [bug]           "dig +noall" failed to clear stats and command
+                       printing.
+
  984.  [bug]           Multithreading should be enabled by default on
                        Solaris 2.7 and newer, but it wasn't.
 
index 6633fdda94c79f154e2b7f238bd6094b3ee0b083..9af9904e376599a7a3da88ee753c8c06add2f3f8 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dig.c,v 1.157 2001/08/23 04:39:31 marka Exp $ */
+/* $Id: dig.c,v 1.157.2.1 2001/09/11 01:37:48 gson Exp $ */
 
 #include <config.h>
 #include <stdlib.h>
@@ -184,6 +184,7 @@ help(void) {
 "                 +[no]answer         (Control display of answer)\n"
 "                 +[no]authority      (Control display of authority)\n"
 "                 +[no]additional     (Control display of additional)\n"
+"                 +[no]stats          (Control display of statistics)\n"
 "                 +[no]short          (Disable everything except short\n"
 "                                      form of answer)\n"
 "                 +[no]all            (Set or clear all display flags)\n"
@@ -651,6 +652,8 @@ plus_option(char *option, isc_boolean_t is_batchfile,
                        lookup->section_answer = state;
                        lookup->section_additional = state;
                        lookup->comments = state;
+                       lookup->stats = state;
+                       printcmd = state;
                        break;
                case 'n': /* answer */
                        lookup->section_answer = state;