commands/splash: fix '-y' option handling
The '-y' and '-o' options are independent, so just add missing 'break'. Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
ea1f2061bd
commit
2009c67867
|
@ -41,6 +41,7 @@ static int do_splash(int argc, char *argv[])
|
|||
break;
|
||||
case 'y':
|
||||
s.y = simple_strtoul(optarg, NULL, 0);
|
||||
break;
|
||||
case 'o':
|
||||
offscreen = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue