blob: c1e2e4256674c3f92999d278815eb79c4d812c27 (
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 "buttress.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("Buttress, %s\n", version);
}
|