1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-15 20:29:03 +00:00

Added a comment explaining the log-errors handling section

This commit is contained in:
sean
2012-06-30 01:45:10 +00:00
parent 0909f12308
commit 9b09390c52

View File

@@ -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) {