mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-22 06:37:42 -04:00
[master] dig option cleanups
4132. [cleanup] dig: added +rd as a synonym for +recurse, added +class as an unabbreviated alternative to +cl. [RT #39686]
This commit is contained in:
parent
8c9fba44a4
commit
eb447eca88
3 changed files with 24 additions and 3 deletions
4
CHANGES
4
CHANGES
|
|
@ -1,3 +1,7 @@
|
|||
4132. [cleanup] dig: added +rd as a synonym for +recurse,
|
||||
added +class as an unabbreviated alternative
|
||||
to +cl. [RT #39686]
|
||||
|
||||
4131. [bug] Addressed further problems with reloading RPZ
|
||||
zones. [RT #39649]
|
||||
|
||||
|
|
|
|||
|
|
@ -879,8 +879,9 @@ plus_option(char *option, isc_boolean_t is_batchfile,
|
|||
goto invalid_option;
|
||||
}
|
||||
break;
|
||||
case 'l': /* cl */
|
||||
FULLCHECK("cl");
|
||||
case 'l': /* class */
|
||||
/* keep +cl for backwards compatibility */
|
||||
FULLCHECK2("cl", "class");
|
||||
noclass = ISC_TF(!state);
|
||||
break;
|
||||
case 'm': /* cmd */
|
||||
|
|
@ -1150,6 +1151,10 @@ plus_option(char *option, isc_boolean_t is_batchfile,
|
|||
break;
|
||||
case 'r':
|
||||
switch (cmd[1]) {
|
||||
case 'd': /* rdflag */
|
||||
FULLCHECK("rdflag");
|
||||
lookup->recurse = state;
|
||||
break;
|
||||
case 'e':
|
||||
switch (cmd[2]) {
|
||||
case 'c': /* recurse */
|
||||
|
|
|
|||
|
|
@ -436,6 +436,9 @@
|
|||
that keyword. Other
|
||||
keywords assign values to options like the timeout interval. They
|
||||
have the form <option>+keyword=value</option>.
|
||||
Keywords may be abbreviated, provided the abbreviation is
|
||||
unambiguous; for example, <literal>+cd</literal> is equivalent
|
||||
to <literal>+cdflag</literal>.
|
||||
The query options are:
|
||||
|
||||
<variablelist>
|
||||
|
|
@ -551,7 +554,7 @@
|
|||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>+[no]cl</option></term>
|
||||
<term><option>+[no]class</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Display [do not display] the CLASS when printing the
|
||||
|
|
@ -853,6 +856,15 @@
|
|||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>+[no]rdflag</option></term>
|
||||
<listitem>
|
||||
<para>
|
||||
A synonym for <parameter>+[no]recurse</parameter>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><option>+[no]recurse</option></term>
|
||||
<listitem>
|
||||
|
|
|
|||
Loading…
Reference in a new issue