2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-01 06:55:30 +00:00

1677. [bug] dig: +aaonly didn't work, +aaflag undocumented.

This commit is contained in:
Mark Andrews
2004-06-23 04:07:29 +00:00
parent bb3e430008
commit 7de69feda2
3 changed files with 13 additions and 8 deletions

View File

@@ -1,3 +1,5 @@
1677. [bug] dig: +aaonly didn't work, +aaflag undocumented.
1676. [placeholder] rt10864 1676. [placeholder] rt10864
1675. [placeholder] rt10847 1675. [placeholder] rt10847

View File

@@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * 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 <config.h>
#include <stdlib.h> #include <stdlib.h>
@@ -188,7 +188,7 @@ help(void) {
"\n" "\n"
" +[no]fail (Don't try next server on SERVFAIL)\n" " +[no]fail (Don't try next server on SERVFAIL)\n"
" +[no]besteffort (Try to parse even illegal messages)\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]adflag (Set AD flag in query)\n"
" +[no]cdflag (Set CD flag in query)\n" " +[no]cdflag (Set CD flag in query)\n"
" +[no]cl (Control display of class in records)\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]) { switch (cmd[0]) {
case 'a': case 'a':
switch (cmd[1]) { switch (cmd[1]) {
case 'a': /* aaflag */ case 'a': /* aaonly / aaflag */
FULLCHECK("aaflag"); FULLCHECK2("aaonly", "aaflag");
lookup->aaonly = state; lookup->aaonly = state;
break; break;
case 'd': case 'd':

View File

@@ -16,7 +16,7 @@
- PERFORMANCE OF THIS SOFTWARE. - 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> <refentry>
@@ -306,9 +306,12 @@ Deprecated, treated as a synonym for <parameter>+[no]search</parameter>
<varlistentry><term><option>+[no]aaonly</option></term> <varlistentry><term><option>+[no]aaonly</option></term>
<listitem><para> <listitem><para>
This option does nothing. It is provided for compatibility with old Sets the "aa" flag in the query.
versions of <command>dig</command> where it set an unimplemented </para></listitem></varlistentry>
resolver flag.
<varlistentry><term><option>+[no]aaflag</option></term>
<listitem><para>
A synonym for <parameter>+[no]aaonly</parameter>.
</para></listitem></varlistentry> </para></listitem></varlistentry>
<varlistentry><term><option>+[no]adflag</option></term> <varlistentry><term><option>+[no]adflag</option></term>