I need to scan a large, non-contiguous range of ports, such as "1-514,516-630,632-9099,9103-65535." Neither -p nor --range can satisfy this requirement. I can only manually convert it to something like "1,2,...,514,516,..." Since my scenario requires command-line operation, I get an "Argument list too long" error.
I'd appreciate a parameter that supports mixed port ranges. Thank you.