aboutsummaryrefslogtreecommitdiffstats
path: root/fbmngplay/messages.c
blob: 6bc2aa4070efc6fa36e506271fce4d6f1604c45a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
 *	fbmngplay - fb console MNG player.
 *	(c) 2001-2002 by Stefan Reinauer, <stepan@suse.de>
 *  
 *	This program is based on mngplay, part of libmng, written and (C) by
 *	
 *	Ralph Giles <giles@ashlu.bc.ca>
 *
 *	This program my be redistributed under the terms of the
 *	GNU General Public Licence, version 2, or at your preference,
 *	any later version.
 */

#include <stdio.h>
#include "fbmngplay.h"
#include "messages.h"

void usage(char *name) 
{
	fprintf(stderr, "\nusage: %s [ -x <val> ] [ -y <val> ] [ -a <val> ] [-b] [-v]"
			" [-s] [file.mng [file.mng [...]]]\n", name);
	fprintf(stderr, 
		"\n	-x: x coordinate\n"
		"	-y: y coordinate\n"
		"	-a, --alpha: default alpha channel 1..100\n"
		"	-v, --verbose: verbose mode\n"
		"	-b, --buffered: buffered mode\n"
		"	-s, --signal: wait for SIGUSR1 between animations\n"
		"	-p, --position: dynamically select position\n"
		"	-V, --version: show version and exit\n"
		"	-?, -h, --help: print this help.\n"
		"	-S --start-console: only output animation on console it was started on.\n"
		"       -c: start output animation on specified console.\n\n");
}

void version(void)
{
	fprintf(stderr, 
		"fbmngplay v%s, Copyright (C) 2001-2002 Stefan Reinauer <stepan@suse.de>\n\n"
		"fbmngplay comes with ABSOLUTELY NO WARRANTY;\n"
		"This is free software, and you are welcome to redistribute it\n"
		"under certain conditions; Check the GPL for details.\n", FBMNGPLAY_VERSION);
}