]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
1677. [bug] dig: +aaonly didn't work, +aaflag undocumented.
authorMark Andrews <marka@isc.org>
Wed, 23 Jun 2004 04:07:29 +0000 (04:07 +0000)
committerMark Andrews <marka@isc.org>
Wed, 23 Jun 2004 04:07:29 +0000 (04:07 +0000)
CHANGES
bin/dig/dig.c
bin/dig/dig.docbook

diff --git a/CHANGES b/CHANGES
index 8ac46c32f0430586a99009f0012c8659f22ca40f..b4231711de235f6b518c296ea7d68b4af80b6905 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+1677.  [bug]           dig: +aaonly didn't work, +aaflag undocumented.
+
 1676.  [placeholder]   rt10864
 
 1675.   [placeholder]  rt10847
index 224d8dfc7de5d22812474f47cb11d65159d958e8..4b02897f4163370417dba5d7fed56d94deca5fe6 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dig.c,v 1.193 2004/06/19 02:23:32 sra Exp $ */
+/* $Id: dig.c,v 1.194 2004/06/23 04:07:29 marka Exp $ */
 
 #include <config.h>
 #include <stdlib.h>
@@ -188,7 +188,7 @@ help(void) {
 "\n"
 "                 +[no]fail           (Don't try next server on SERVFAIL)\n"
 "                 +[no]besteffort     (Try to parse even illegal messages)\n"
-"                 +[no]aaonly         (Set AA flag in query)\n"
+"                 +[no]aaonly         (Set AA flag in query (+[no]aaflag))\n"
 "                 +[no]adflag         (Set AD flag in query)\n"
 "                 +[no]cdflag         (Set CD flag in query)\n"
 "                 +[no]cl             (Control display of class in records)\n"
@@ -738,8 +738,8 @@ plus_option(char *option, isc_boolean_t is_batchfile,
        switch (cmd[0]) {
        case 'a':
                switch (cmd[1]) {
-               case 'a': /* aaflag */
-                       FULLCHECK("aaflag");
+               case 'a': /* aaonly / aaflag */
+                       FULLCHECK2("aaonly", "aaflag");
                        lookup->aaonly = state;
                        break;
                case 'd': 
index 7724593785e5acd76b147e8263638f403a0e0916..50b6e5e779bd4f0e6b90e6e27e2ebb0614c288da 100644 (file)
@@ -16,7 +16,7 @@
  - PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: dig.docbook,v 1.19 2004/04/13 02:39:34 marka Exp $ -->
+<!-- $Id: dig.docbook,v 1.20 2004/06/23 04:07:29 marka Exp $ -->
 
 <refentry>
 
@@ -306,9 +306,12 @@ Deprecated, treated as a synonym for <parameter>+[no]search</parameter>
 
 <varlistentry><term><option>+[no]aaonly</option></term>
 <listitem><para>
-This option does nothing.  It is provided for compatibility with old
-versions of <command>dig</command> where it set an unimplemented
-resolver flag.
+Sets the "aa" flag in the query.
+</para></listitem></varlistentry>
+
+<varlistentry><term><option>+[no]aaflag</option></term>
+<listitem><para>
+A synonym for <parameter>+[no]aaonly</parameter>.
 </para></listitem></varlistentry>
 
 <varlistentry><term><option>+[no]adflag</option></term>