hexedit: optimize output buffering
[oweals/busybox.git] / miscutils / flashcp.c
index c10b96ee8e23c7a6a1995ee3c0175ac74626b3c9..858cee19451dcbb25c444eb94b0b799e55f3a6b5 100644 (file)
@@ -69,8 +69,7 @@ int flashcp_main(int argc UNUSED_PARAM, char **argv)
        RESERVE_CONFIG_UBUFFER(buf, BUFSIZE);
        RESERVE_CONFIG_UBUFFER(buf2, BUFSIZE);
 
-       opt_complementary = "=2"; /* exactly 2 non-option args: file, dev */
-       /*opts =*/ getopt32(argv, "v");
+       /*opts =*/ getopt32(argv, "^" "v" "\0" "=2"/*exactly 2 non-option args: file,dev*/);
        argv += optind;
 //     filename = *argv++;
 //     devicename = *argv;