The '-y' and '-o' options are independent,
so just add missing 'break'.
Signed-off-by: Antony Pavlov <[email protected]>
---
commands/splash.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/commands/splash.c b/commands/splash.c
index 9bd84fb..077c0e4 100644
--- a/commands/splash.c
+++ b/commands/splash.c
@@ -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;
}
--
2.1.4
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox