]> 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:19:41 +0000 (04:19 +0000)
committerMark Andrews <marka@isc.org>
Wed, 23 Jun 2004 04:19:41 +0000 (04:19 +0000)
CHANGES
bin/dig/dig.c
bin/dig/dig.docbook

diff --git a/CHANGES b/CHANGES
index 8705250d94a40949ee3748a7613c40bb4ef9aa96..ca83090b556b7440b3fc44b0342263186b34b3bf 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+1677.  [bug]           dig: +aaonly didn't work, +aaflag undocumented.
+
 1674.  [port]          linux: increase buffer size used to scan
                        /proc/net/if_inet6.
 
index d8756c8817d2f126a7ffd7d4f40c5db91f8a2652..b2c46254d92ec00ab591c5d7c42f79347ec1f7e8 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dig.c,v 1.157.2.13.2.19 2004/06/19 02:30:10 sra Exp $ */
+/* $Id: dig.c,v 1.157.2.13.2.20 2004/06/23 04:19:40 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 d083f21f0ccc8872109c33ac5f93ecf2d4e193df..d22ae87064d01221dfb76b1dafb0edb277524b0d 100644 (file)
@@ -16,7 +16,7 @@
  - PERFORMANCE OF THIS SOFTWARE.
 -->
 
-<!-- $Id: dig.docbook,v 1.4.2.7.4.8 2004/04/13 03:00:05 marka Exp $ -->
+<!-- $Id: dig.docbook,v 1.4.2.7.4.9 2004/06/23 04:19:41 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>