summaryrefslogtreecommitdiff
path: root/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'help.c')
-rw-r--r--help.c32
1 files changed, 32 insertions, 0 deletions
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 <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);
+}