From 7cdb1d14cab5ad4eceb9edfc484ea272cf8a062d Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 26 Jun 2009 15:57:37 +0000 Subject: 20090626-1657 --- appl/cmd/man2html.b | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'appl/cmd/man2html.b') diff --git a/appl/cmd/man2html.b b/appl/cmd/man2html.b index f32c4fbd..033504b4 100644 --- a/appl/cmd/man2html.b +++ b/appl/cmd/man2html.b @@ -318,11 +318,12 @@ Global: adt { }; header := ""; +initial := ""; trailer := ""; usage() { - sys->fprint(stderr, "Usage: man2html [-h header] [-t trailer] file [section]\n"); + sys->fprint(stderr, "Usage: man2html [-h header] [-i initialtext] [-t trailer] file [section]\n"); raise "fail:usage"; } @@ -753,6 +754,7 @@ g_SH(g: ref Global, argl: list of string) closeall(g, 1); # .SH is top-level list item if (g.example) g_EE(g); + g_fi(g); if (g.fill && ! g.sop) g.print("

"); g.print("

"); @@ -1359,6 +1361,6 @@ title(g: ref Global, t: string, search: int) g.print(header+"\n"); g.print(sprint("Inferno's %s\n", demark(t))); g.print("\n"); - g.print("\n"); + g.print(""+initial+"\n"); } -- cgit v1.2.3