mirror of
https://github.com/nmap/nmap.git
synced 2025-12-10 17:59:04 +00:00
Remove references to deprecated -P* options in error message
The message stating that an unknown -P* option was used contained references to old, deprecated forms: -PT (now -PA) -PB (now -PE -PA) -PI (now -PE) Additionally, -PR was missing.
This commit is contained in:
2
nmap.cc
2
nmap.cc
@@ -1224,7 +1224,7 @@ void parse_options(int argc, char **argv) {
|
|||||||
assert(ports.proto_ping_count > 0);
|
assert(ports.proto_ping_count > 0);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fatal("Illegal Argument to -P, use -Pn, -PO, -PI, -PB, -PE, -PM, -PP, -PA, -PU, -PT, -PY, or -PT80 (or whatever number you want for the TCP probe destination port)");
|
fatal("Illegal Argument to -P, use -Pn, -PE, -PS, -PA, -PP, -PM, -PU, -PY, -PR, or -PO");
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'p':
|
case 'p':
|
||||||
|
|||||||
Reference in New Issue
Block a user