Commit eb447eca authored by Evan Hunt's avatar Evan Hunt
Browse files

[master] dig option cleanups

4132.	[cleanup]	dig: added +rd as a synonym for +recurse,
			added +class as an unabbreviated alternative
			to +cl. [RT #39686]
parent 8c9fba44
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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment