Commit 1b92aed2 authored by Karl Beldan's avatar Karl Beldan Committed by Tom Rini

mkimage: Fix argument parsing with signature comment

Inform getopt that '-c' requires a parameter.

Fixes: a02221f2 ("mkimage: Convert to use getopt()")
Signed-off-by: default avatarKarl Beldan <kbeldan@baylibre.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent f6d34651
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment