blob: 3fd957fbc84a34a4abf4df951d7093e5aefa6b38 (
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
|
/*
* help.c: usage instructions
*/
#include <stdio.h>
#include "halibut.h"
static char *helptext[] = {
"FIXME: help text goes here",
NULL
};
static char *usagetext[] = {
"FIXME: usage text goes here",
NULL
};
void help(void) {
char **p;
for (p = helptext; *p; p++)
puts(*p);
}
void usage(void) {
char **p;
for (p = usagetext; *p; p++)
puts(*p);
}
void showversion(void) {
printf("Halibut, %s\n", version);
}
|