From f91811f57de0561cc7c8efb5897a6b62f5c0e0b2 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 30 Jan 1999 21:35:36 +0000 Subject: Initial checkin of skeleton application. About to start reading files [originally from svn r22] --- help.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 help.c (limited to 'help.c') diff --git a/help.c b/help.c new file mode 100644 index 0000000..c1e2e42 --- /dev/null +++ b/help.c @@ -0,0 +1,32 @@ +/* + * help.c: usage instructions + */ + +#include +#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); +} -- cgit v1.1