projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hexedit: optimize output buffering
[oweals/busybox.git]
/
miscutils
/
flashcp.c
diff --git
a/miscutils/flashcp.c
b/miscutils/flashcp.c
index c10b96ee8e23c7a6a1995ee3c0175ac74626b3c9..858cee19451dcbb25c444eb94b0b799e55f3a6b5 100644
(file)
--- a/
miscutils/flashcp.c
+++ b/
miscutils/flashcp.c
@@
-69,8
+69,7
@@
int flashcp_main(int argc UNUSED_PARAM, char **argv)
RESERVE_CONFIG_UBUFFER(buf, BUFSIZE);
RESERVE_CONFIG_UBUFFER(buf2, BUFSIZE);
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;
argv += optind;
// filename = *argv++;
// devicename = *argv;