Debian Codegraph @

Docs/src/bin/halibut/help.c

raw
1 /*
2 * help.c: usage instructions
3 */
4
5 #include <stdio.h>
6 #include "halibut.h"
7
8 static const char *const usagetext[] = {
9 "halibut [options] file.but [file.but...]",
10 NULL
11 };
12
13 void usage(void)
14 {
15 const char *const *p;
16 for (p = usagetext; *p; p++)
17 puts(*p);
18 }
19
20 void showversion(void)
21 {
22 printf("Halibut, %s\n", version);
23 }