9
0
Fork 0

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>
This commit is contained in:
Alexander Richter 2015-05-19 15:29:21 +02:00 committed by Sascha Hauer
parent 5731d3ebcc
commit 4df73d5f58
1 changed files with 1 additions and 1 deletions

View File

@ -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;