Annotation of /trunk/linterm_tools/fw_builder/bootsplash/fbtruetype-messages.c
Parent Directory | Revision Log
Revision 658 -
(hide annotations)
(download)
Mon Jan 14 16:57:24 2008 UTC (16 years, 4 months ago) by niro
File MIME type: text/plain
File size: 1164 byte(s)
Mon Jan 14 16:57:24 2008 UTC (16 years, 4 months ago) by niro
File MIME type: text/plain
File size: 1164 byte(s)
initial import
1 | niro | 658 | /* |
2 | * (c) 2002-2003 by Stefan Reinauer, <stepan@suse.de> | ||
3 | * | ||
4 | * This program my be redistributed under the terms of the | ||
5 | * GNU General Public Licence, version 2, or at your preference, | ||
6 | * any later version. | ||
7 | */ | ||
8 | |||
9 | #include <stdio.h> | ||
10 | #include "fbtruetype.h" | ||
11 | #include "messages.h" | ||
12 | |||
13 | void usage(char *name) | ||
14 | { | ||
15 | fprintf(stderr, "\nusage: %s [ parameters ] text\n", name); | ||
16 | fprintf(stderr, | ||
17 | "\n -x: x coordinate\n" | ||
18 | " -y: y coordinate\n" | ||
19 | " -f, --font: font name (.ttf file)\n" | ||
20 | " -t, --textcolor: text color (hex)\n" | ||
21 | " -s, --size: font size (default 36)\n" | ||
22 | " -a, --alpha: default alpha channel 1..100\n" | ||
23 | " -v, --verbose: verbose mode\n" | ||
24 | " -V, --version: show version and exit\n" | ||
25 | " -?, -h, --help: print this help.\n" | ||
26 | " -S --start-console: output on start console only.\n" | ||
27 | " -c: start on specified console.\n\n"); | ||
28 | } | ||
29 | |||
30 | void version(void) | ||
31 | { | ||
32 | fprintf(stderr, | ||
33 | "fbtruetype v%s, Copyright (C) 2002, 2003 Stefan Reinauer <stepan@suse.de>\n\n" | ||
34 | "fbtruetype comes with ABSOLUTELY NO WARRANTY;\n" | ||
35 | "This is free software, and you are welcome to redistribute it\n" | ||
36 | "under certain conditions; Check the GPL for details.\n", | ||
37 | FBTRUETYPE_VERSION); | ||
38 | } |