projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6d3465
)
mkimage: Fix argument parsing with signature comment
author
Karl Beldan
<kbeldan@baylibre.com>
Tue, 2 Aug 2016 18:57:14 +0000
(18:57 +0000)
committer
Tom Rini
<trini@konsulko.com>
Sat, 6 Aug 2016 00:55:23 +0000
(20:55 -0400)
Inform getopt that '-c' requires a parameter.
Fixes:
a02221f29deb
("mkimage: Convert to use getopt()")
Signed-off-by: Karl Beldan <kbeldan@baylibre.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
tools/mkimage.c
patch
|
blob
|
history
diff --git
a/tools/mkimage.c
b/tools/mkimage.c
index d9939583f5533cd044b32e98b66aa34468dd9157..3c594a0f3b92f1cf73b282c85b36674838c65fa0 100644
(file)
--- a/
tools/mkimage.c
+++ b/
tools/mkimage.c
@@
-140,7
+140,7
@@
static void process_args(int argc, char **argv)
int opt;
while ((opt = getopt(argc, argv,
- "a:A:b:cC:d:D:e:Ef:Fk:K:ln:p:O:rR:qsT:vVx")) != -1) {
+ "a:A:b:c
:
C:d:D:e:Ef:Fk:K:ln:p:O:rR:qsT:vVx")) != -1) {
switch (opt) {
case 'a':
params.addr = strtoull(optarg, &ptr, 16);