mirror of
https://github.com/nmap/nmap.git
synced 2026-01-16 03:19:01 +00:00
First, enforce significant digits when converting, e.g. 1.1K to bytes. Next, use the server-returned human-readable format instead of converting to bytes by default. The conversion to bytes is still done to get total byte count. Also changed how boolean options work to better match existing convention: --script-args ls.human or --script-args ls.human=1 now work. You must explicitly say "false", "no", or "0" to make a boolean flag false (or just leave it out).
11 KiB
11 KiB