From 0ad478b4c26327b38f1481192d8da09846855634 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Thu, 3 Jul 2014 09:16:17 -0400 Subject: [PATCH] splash.c: Add that .png files are suitable as splash images. Signed-off-by: Robert P. J. Day Signed-off-by: Sascha Hauer --- commands/splash.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/commands/splash.c b/commands/splash.c index 5d0c0ad18..2ce1bdda8 100644 --- a/commands/splash.c +++ b/commands/splash.c @@ -78,8 +78,9 @@ static int do_splash(int argc, char *argv[]) } BAREBOX_CMD_HELP_START(splash) -BAREBOX_CMD_HELP_TEXT("This command displays a graphics in the bitmap (.bmp) format on the") -BAREBOX_CMD_HELP_TEXT("framebuffer. Currently images with 8 and 24 bit color depth are supported.") +BAREBOX_CMD_HELP_TEXT("This command displays a graphics image of either bitmap (.bmp) format") +BAREBOX_CMD_HELP_TEXT("or Portable Network Graphics (.png) format on the framebuffer.") +BAREBOX_CMD_HELP_TEXT("Currently images with 8 and 24 bit color depth are supported.") BAREBOX_CMD_HELP_TEXT("") BAREBOX_CMD_HELP_TEXT("Options:") BAREBOX_CMD_HELP_OPT ("-f FB\t", "framebuffer device (default /dev/fb0)") @@ -91,7 +92,7 @@ BAREBOX_CMD_HELP_END BAREBOX_CMD_START(splash) .cmd = do_splash, - BAREBOX_CMD_DESC("display a BMP image") + BAREBOX_CMD_DESC("display a BMP or PNG splash image") BAREBOX_CMD_OPTS("[-fxyno] FILE") BAREBOX_CMD_GROUP(CMD_GRP_CONSOLE) BAREBOX_CMD_HELP(cmd_splash_help)