From: Andreas Gustafsson Date: Tue, 11 Sep 2001 01:39:28 +0000 (+0000) Subject: pullup: X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9b8f7669a9b9801da14d6e175eb5150643b46ef;p=thirdparty%2Fbind9.git pullup: 987. [bug] "dig -help" didn't show "+[no]stats". 986. [bug] "dig +noall" failed to clear stats and command printing. --- diff --git a/CHANGES b/CHANGES index aa44f18b3d7..34e773cbd57 100644 --- 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. + 980. [bug] Incoming zone transfers restarting after an error could trigger an assertion failure. [RT #1692] diff --git a/bin/dig/dig.c b/bin/dig/dig.c index faac6fbdb3b..43329fdddde 100644 --- a/bin/dig/dig.c +++ b/bin/dig/dig.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: dig.c,v 1.131.2.4 2001/03/14 18:08:48 bwelling Exp $ */ +/* $Id: dig.c,v 1.131.2.5 2001/09/11 01:39:28 gson Exp $ */ #include #include @@ -172,6 +172,7 @@ show_usage(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" @@ -650,6 +651,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;