From a5b3aa1314db24976cedee5641010c84c1cc20ca Mon Sep 17 00:00:00 2001 From: dmiller Date: Sun, 22 Feb 2015 21:51:00 +0000 Subject: [PATCH] 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. --- nmap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmap.cc b/nmap.cc index edfe4e29c..32fe10b19 100644 --- a/nmap.cc +++ b/nmap.cc @@ -1224,7 +1224,7 @@ void parse_options(int argc, char **argv) { assert(ports.proto_ping_count > 0); } } 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; case 'p':