diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2015-01-25 16:22:13 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2015-01-26 09:14:54 +0100 |
commit | 2009c678677e910927db34b62d25231b8dbf4fe5 (patch) | |
tree | 460cf835889428c63809edbfdbc5391f7383aac5 /commands | |
parent | ea1f2061bd5f7205d512747919fc8ab2515285ba (diff) | |
download | barebox-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>
Diffstat (limited to 'commands')
-rw-r--r-- | commands/splash.c | 1 |
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; } |