9
0
Fork 0

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:
Antony Pavlov 2015-01-25 16:22:13 +03:00 committed by Sascha Hauer
parent ea1f2061bd
commit 2009c67867
1 changed files with 1 additions and 0 deletions

View File

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