mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] commands/splash: fix '-y' option handling
@ 2015-01-25 13:22 Antony Pavlov
  2015-01-26  8:16 ` Sascha Hauer
  2015-01-26  8:51 ` Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 2 replies; 4+ messages in thread
From: Antony Pavlov @ 2015-01-25 13:22 UTC (permalink / raw)
  To: barebox

The '-y' and '-o' options are independent,
so just add missing 'break'.

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-26  9:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-25 13:22 [PATCH] commands/splash: fix '-y' option handling Antony Pavlov
2015-01-26  8:16 ` Sascha Hauer
2015-01-26  8:51 ` Jean-Christophe PLAGNIOL-VILLARD
2015-01-26  9:22   ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox