diff options
author | Alexander Richter <alexander.richter@atsonline.de> | 2015-05-19 15:29:21 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-05-20 08:09:15 +0200 |
commit | 4df73d5f585a74f241e443510189fe1bc2858fac (patch) | |
tree | a08814c7785708f1ec7f46d361fe445483c97e17 /commands | |
parent | 5731d3ebccb8cee4cd9283e179e94c1d01398e17 (diff) | |
download | barebox-4df73d5f585a74f241e443510189fe1bc2858fac.tar.gz barebox-4df73d5f585a74f241e443510189fe1bc2858fac.tar.xz |
ubiformat: fix argument parser
- remove duplicate 'y' option
- add missing 'Q' option
Signed-off-by: Alexander Richter <alexander.richter@atsonline.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r-- | commands/ubiformat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/ubiformat.c b/commands/ubiformat.c index df0b801da9..e63f16e351 100644 --- a/commands/ubiformat.c +++ b/commands/ubiformat.c @@ -84,7 +84,7 @@ static int parse_opt(int argc, char *argv[]) int key; unsigned long int image_seq; - key = getopt(argc, argv, "nyyqve:x:s:O:f:S:"); + key = getopt(argc, argv, "nyqve:x:s:O:f:S:Q:"); if (key == -1) break; |