wget: -O FILE is allowed to overwrite existing file (compat)
[oweals/busybox.git] / networking / pscan.c
index fe146b8bd1ee049e3ae3e177f2f136a167b9c043..5ae3e61ddbc7dd39abb985ba2e21391950ef5a90 100644 (file)
@@ -36,7 +36,7 @@ int pscan_main(int argc, char **argv)
        const char *opt_max_port = "1024";      /* -P: default max port */
        const char *opt_min_port = "1";         /* -p: default min port */
        const char *opt_timeout = "5000";       /* -t: default timeout in msec */
-       /* We estimate rtt and wait rtt*4 before concluding that port is 
+       /* We estimate rtt and wait rtt*4 before concluding that port is
         * totally blocked. min rtt of 5 ms may be too low if you are
         * scanning an Internet host behind saturated/traffic shaped link.
         * Rule of thumb: with min_rtt of N msec, scanning 1000 ports
@@ -54,7 +54,7 @@ int pscan_main(int argc, char **argv)
        unsigned start;
 
        opt_complementary = "=1"; /* exactly one non-option */
-       getopt32(argc, argv, "p:P:t:T:", &opt_min_port, &opt_max_port, &opt_timeout, &opt_min_rtt);
+       getopt32(argv, "p:P:t:T:", &opt_min_port, &opt_max_port, &opt_timeout, &opt_min_rtt);
        argv += optind;
        max_port = xatou_range(opt_max_port, 1, 65535);
        port = xatou_range(opt_min_port, 1, max_port);