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 " --ps[=filename] generate PostScript output",
16 " --pdf[=filename] generate PDF output",
17 " -Cfoo:bar:baz append \\cfg{foo}{bar}{baz} to input",
18 " --input-charset=cs change default input file charset",
19 " --precise report column numbers in error messages",
20 " --help display this text",
21 " --version display version number",
22 " --licence display licence text",
26 static char *usagetext
[] = {
27 "usage: halibut [--format[=filename]] [options] file.but [file.but...]",
33 for (p
= helptext
; *p
; p
++)
39 for (p
= usagetext
; *p
; p
++)
43 void showversion(void) {
44 printf("Halibut, %s\n", version
);