2 * help.c: usage instructions
8 static char *helptext
[] = {
9 "usage: halibut [options] files",
10 "options: --text[=filename] generate plain text output",
11 " --html[=filename] generate XHTML output",
12 " --winhelp[=filename] generate Windows Help output",
13 " --man[=filename] generate man page output",
14 " --info[=filename] generate GNU info output",
15 " -Cfoo:bar:baz append \\cfg{foo}{bar}{baz} to input",
16 " --precise report column numbers in error messages",
17 " --help display this text",
18 " --version display version number",
19 " --licence display licence text",
23 static char *usagetext
[] = {
24 "usage: halibut [--format[=filename]] [-Cconfig...] file.but [file.but...]",
30 for (p
= helptext
; *p
; p
++)
36 for (p
= usagetext
; *p
; p
++)
40 void showversion(void) {
41 printf("Halibut, %s\n", version
);