diff --git a/bin/dig/nslookup.c b/bin/dig/nslookup.c index 78239cdb7d..21929ba610 100644 --- a/bin/dig/nslookup.c +++ b/bin/dig/nslookup.c @@ -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); diff --git a/bin/dig/nslookup.docbook b/bin/dig/nslookup.docbook index 88d3d6a2e5..022de672b8 100644 --- a/bin/dig/nslookup.docbook +++ b/bin/dig/nslookup.docbook @@ -133,6 +133,11 @@ nslookup -query=hinfo -timeout=10 + + The option causes + nslookup to print the version + number and immediately exits. + @@ -230,18 +235,6 @@ nslookup -query=hinfo -timeout=10 - - version - - - Prints the version number. (This can also be - done from the command line by using - , which will print - the version number and immediately exit.) - - - - exit