From 0e1a1c5ae485e5d62f811992acee6b20f2bd495f Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 1 Apr 2004 18:00:12 +0000 Subject: Help and usage messages. [originally from svn r4026] --- help.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/help.c b/help.c index 3fd957f..1ba84bb 100644 --- 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 }; -- cgit v1.1