Magellan Linux

Contents of /trunk/linterm_tools/fw_builder/bootsplash/fbmngplay-messages.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 658 - (show annotations) (download)
Mon Jan 14 16:57:24 2008 UTC (16 years, 3 months ago) by niro
File MIME type: text/plain
File size: 1432 byte(s)
initial import

1 /*
2 * fbmngplay - fb console MNG player.
3 * (c) 2001-2002 by Stefan Reinauer, <stepan@suse.de>
4 *
5 * This program is based on mngplay, part of libmng, written and (C) by
6 *
7 * Ralph Giles <giles@ashlu.bc.ca>
8 *
9 * This program my be redistributed under the terms of the
10 * GNU General Public Licence, version 2, or at your preference,
11 * any later version.
12 */
13
14 #include <stdio.h>
15 #include "fbmngplay.h"
16 #include "messages.h"
17
18 void usage(char *name)
19 {
20 fprintf(stderr,
21 "\nusage: %s [ -x <val> ] [ -y <val> ] [ -a <val> ] [-b] [-v]"
22 " [-s] [file.mng [file.mng [...]]]\n", name);
23 fprintf(stderr,
24 "\n -x: x coordinate\n" " -y: y coordinate\n"
25 " -a, --alpha: default alpha channel 1..100\n"
26 " -v, --verbose: verbose mode\n"
27 " -b, --buffered: buffered mode\n"
28 " -s, --signal: wait for SIGUSR1 between animations\n"
29 " -p, --position: dynamically select position\n"
30 " -V, --version: show version and exit\n"
31 " -?, -h, --help: print this help.\n"
32 " -S --start-console: only output animation on console it was started on.\n"
33 " -c: start output animation on specified console.\n\n");
34 }
35
36 void version(void)
37 {
38 fprintf(stderr,
39 "fbmngplay v%s, Copyright (C) 2001-2002 Stefan Reinauer <stepan@suse.de>\n\n"
40 "fbmngplay comes with ABSOLUTELY NO WARRANTY;\n"
41 "This is free software, and you are welcome to redistribute it\n"
42 "under certain conditions; Check the GPL for details.\n",
43 FBMNGPLAY_VERSION);
44 }