mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-22 23:01:43 -04:00
[master] revert the "version" interactive command from nslookup
This commit is contained in:
parent
f4ada59b35
commit
9f5222620c
2 changed files with 5 additions and 14 deletions
|
|
@ -754,8 +754,6 @@ do_next_command(char *input) {
|
|||
show_settings(ISC_TRUE, ISC_TRUE);
|
||||
} else if (strcasecmp(ptr, "exit") == 0) {
|
||||
in_use = ISC_FALSE;
|
||||
} else if (strcasecmp(ptr, "version") == 0) {
|
||||
version();
|
||||
} else if (strcasecmp(ptr, "help") == 0 ||
|
||||
strcasecmp(ptr, "?") == 0) {
|
||||
printf("The '%s' command is not yet implemented.\n", ptr);
|
||||
|
|
|
|||
|
|
@ -133,6 +133,11 @@ nslookup -query=hinfo -timeout=10
|
|||
</programlisting>
|
||||
<!-- </informalexample> -->
|
||||
</para>
|
||||
<para>
|
||||
The <option>-version</option> option causes
|
||||
<command>nslookup</command> to print the version
|
||||
number and immediately exits.
|
||||
</para>
|
||||
|
||||
</refsect1>
|
||||
|
||||
|
|
@ -230,18 +235,6 @@ nslookup -query=hinfo -timeout=10
|
|||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><constant>version</constant></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Prints the version number. (This can also be
|
||||
done from the command line by using
|
||||
<option>-version</option>, which will print
|
||||
the version number and immediately exit.)
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><constant>exit</constant></term>
|
||||
<listitem>
|
||||
|
|
|
|||
Loading…
Reference in a new issue