aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
blob: 74cfe2413222f4ce4f51fcf09a2297ccd49482c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <gui.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

static void print_help(void)
{
	printf("Help\n");
	exit(0);
}

int main(int argc, char *argv[])
{
	if (argc == 2 && (strcmp(argv[1], "--help") == 0))
		print_help();

	return gui_init(argc, argv);
}