We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ac591f commit 7429658Copy full SHA for 7429658
nmap.cc
@@ -1121,7 +1121,8 @@ void parse_options(int argc, char **argv) {
1121
Snprintf(buf, 3, "P%c", *optarg);
1122
delayed_options.warn_deprecated(buf, "Pn");
1123
}
1124
- error("Host discovery disabled (-Pn). All addresses will be marked 'up' and scan times will be slower.");
+ if (o.verbose > 0)
1125
+ error("Host discovery disabled (-Pn). All addresses will be marked 'up' and scan times will be slower.");
1126
o.pingtype |= PINGTYPE_NONE;
1127
1128
else if (*optarg == 'R') {
0 commit comments