From 9b09390c52d523b7d4f9cedcbabb90acd193b3a6 Mon Sep 17 00:00:00 2001 From: sean Date: Sat, 30 Jun 2012 01:45:10 +0000 Subject: [PATCH] Added a comment explaining the log-errors handling section --- nmap.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nmap.cc b/nmap.cc index 80119dce4..4e97b35c3 100644 --- a/nmap.cc +++ b/nmap.cc @@ -847,6 +847,9 @@ void parse_options(int argc, char **argv) { } else if (optcmp(long_options[option_index].name, "dns-servers") == 0) { o.dns_servers = strdup(optarg); } else if (optcmp(long_options[option_index].name, "log-errors") == 0) { + /*Nmap Log errors is depreciated and is now always enabled by default. + This option is left in so as to not break anybody's scanning scripts. + However it does nothing*/ } else if (optcmp(long_options[option_index].name, "deprecated-xml-osclass") == 0) { o.deprecated_xml_osclass = true; } else if (strcmp(long_options[option_index].name, "webxml") == 0) {