Merge branch 'master' of git+ssh://repo.or.cz/srv/git/fbsplash
[fbsplash.git] / misc / fbtruetype / messages.c
blobd4a53afc5d917cb784e0dd05526fe97f0803c91e
1 /*
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 */
9 #include <stdio.h>
10 #include "fbtruetype.h"
11 #include "messages.h"
13 void usage(char *name)
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");
30 void version(void)
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", FBTRUETYPE_VERSION);