Nmap Development mailing list archives

--top not recognized as a shorthand for --top-ports


From: Kirils Solovjovs <kirils.solovjovs () kirils com>
Date: Sat, 19 Nov 2016 17:27:50 +0200


Because nmap supports two ways to spell "top ports", shorthand --top is
not working.
I suggest deprecating top_ports as other parameters use dash instead of
underscore.

Nmap version 7.30 ( https://nmap.org )

Command:
nmap --top


Current result:
nmap: option '--top' is ambiguous; possibilities: '--top-ports'
'--top_ports'
See the output of nmap -h for a summary of options.


Expected result:
nmap: option '--top-ports' requires an argument


-- 
Kirils Solovjovs
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/


Current thread: