mkimage: Fix argument parsing with signature comment
authorKarl Beldan <kbeldan@baylibre.com>
Tue, 2 Aug 2016 18:57:14 +0000 (18:57 +0000)
committerTom Rini <trini@konsulko.com>
Sat, 6 Aug 2016 00:55:23 +0000 (20:55 -0400)
commit1b92aed253490736d1aabc88fcec21edc8aa55d0
treef3726df682a1eabe9e1b97feecd4edf974c4db69
parentf6d34651d8a21514abbfa32f44a0ec2014ef002b
mkimage: Fix argument parsing with signature comment

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