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);
</programlisting>
<!-- </informalexample> -->
</para>
+ <para>
+ The <option>-version</option> option causes
+ <command>nslookup</command> to print the version
+ number and immediately exits.
+ </para>
</refsect1>
</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>