Help and usage messages.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 1 Apr 2004 18:00:12 +0000 (18:00 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 1 Apr 2004 18:00:12 +0000 (18:00 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/halibut@4026 cda61777-01e9-0310-a592-d414129be87e

help.c

diff --git a/help.c b/help.c
index 3fd957f..1ba84bb 100644 (file)
--- a/help.c
+++ b/help.c
@@ -6,12 +6,21 @@
 #include "halibut.h"
 
 static char *helptext[] = {
-    "FIXME: help text goes here",
+    "usage:   halibut [options] files",
+    "options: --text[=filename]     generate plain text output",
+    "         --html[=filename]     generate XHTML output",
+    "         --winhelp[=filename]  generate Windows Help output",
+    "         --man[=filename]      generate man page output",
+    "         -Cfoo:bar:baz         append \\cfg{foo}{bar}{baz} to input",
+    "         --precise             report column numbers in error messages",
+    "         --help                display this text",
+    "         --version             display version number",
+    "         --licence             display licence text",
     NULL
 };
 
 static char *usagetext[] = {
-    "FIXME: usage text goes here",
+    "usage: halibut [--format[=filename]] [-Cconfig...] file.but [file.but...]",
     NULL
 };