summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntony Pavlov <antonynpavlov@gmail.com>2015-01-25 16:22:13 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2015-01-26 09:14:54 +0100
commit2009c678677e910927db34b62d25231b8dbf4fe5 (patch)
tree460cf835889428c63809edbfdbc5391f7383aac5
parentea1f2061bd5f7205d512747919fc8ab2515285ba (diff)
downloadbarebox-2009c678677e910927db34b62d25231b8dbf4fe5.tar.gz
barebox-2009c678677e910927db34b62d25231b8dbf4fe5.tar.xz
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>
-rw-r--r--commands/splash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/splash.c b/commands/splash.c
index 9bd84fbb2b..077c0e4b03 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;
}