From: David Levine Date: Fri, 9 Mar 2012 03:29:28 +0000 (-0600) Subject: Enabled all groff warnings, with -ww, in manpages test. Fixed a bunch X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;ds=sidebyside;h=62780d8a7c214bbb3301402fee5a5eb980b3069d;p=mmh Enabled all groff warnings, with -ww, in manpages test. Fixed a bunch of minor problems that it revealed. --- diff --git a/man/ap.man b/man/ap.man index 0363639..33628e2 100644 --- a/man/ap.man +++ b/man/ap.man @@ -55,7 +55,7 @@ also recognizes the following additional escape: .RS 5 .nf .ta \w'Escape 'u +\w'Returns 'u -.I Escape Returns Description +.I "Escape Returns Description" error string A diagnostic if the parse failed .RE .fi diff --git a/man/comp.man b/man/comp.man index 0fddc26..c07b211 100644 --- a/man/comp.man +++ b/man/comp.man @@ -138,7 +138,7 @@ escapes are either new or have an alternate meaning: .RS 5 .nf .ta \w'Escape 'u +\w'Returns 'u -.I Escape Returns Description +.I "Escape Returns Description" fcc string Any folders specified with `\-fcc\ folder' from string Any addresses specified with `\-from\ address' to string Any addresses specified with `\-to\ address' @@ -164,7 +164,7 @@ overridden by using the .B \-from .I address switch. The default mailbox in the \*(lqFcc:\*(rq field is -.IR \+outbox . +.IR +outbox . This can be overridden by the .B \-fcc switch. diff --git a/man/dist.man b/man/dist.man index cbb8bda..63292c0 100644 --- a/man/dist.man +++ b/man/dist.man @@ -80,7 +80,7 @@ escapes are also supported: .RS 5 .nf .ta \w'Escape 'u +\w'Returns 'u -.I Escape Returns Description +.I "Escape Returns Description" fcc string Any folders specified with `\-fcc\ folder' nmh\-from string Addresses specified with `\-from\ address' nmh\-to string Addresses specified with `\-to\ address' diff --git a/man/forw.man b/man/forw.man index e6fa01a..0223207 100644 --- a/man/forw.man +++ b/man/forw.man @@ -111,7 +111,7 @@ escapes are also supported: .RS 5 .nf .ta \w'nmh\-subject 'u +\w'Returns 'u -.I Escape Returns Description +.I "Escape Returns Description" fcc string Any folders specified with `\-fcc\ folder' nmh\-from string Addresses specified with `\-from\ address' nmh\-to string Addresses specified with `\-to\ address' @@ -137,7 +137,7 @@ by using the .B \-from .I address switch. The default mailbox in the \*(lqFcc:\*(rq field is -.IR \+outbox . +.IR +outbox . This can be overridden by the .B \-fcc switch. @@ -382,7 +382,7 @@ Specifying these switches enables and/or overloads the following escapes: .RS 5 .nf .ta \w'Component 'u +\w'Escape 'u +\w'Returns 'u -.I Type Escape Returns Description +.I "Type Escape Returns Description" component digest string Argument to `\-digest' function cur integer Argument to `\-volume' function msg integer Argument to `\-issue' diff --git a/man/mh-format.man b/man/mh-format.man index 2d1c69e..0ecb791 100644 --- a/man/mh-format.man +++ b/man/mh-format.man @@ -153,7 +153,7 @@ these include: .RS 5 .nf .ta +\w'Argument 'u +\w'An optional component, 'u -.I Argument Description Example Syntax +.I "Argument Description Example Syntax" literal A literal number %(\fIfunc\fR 1234) or string %(\fIfunc\fR text string) comp Any component %(\fIfunc\fR\^{\fIin-reply-to\fR\^}) @@ -251,7 +251,7 @@ The function escapes may be roughly grouped into a few categories. .RS 5 .nf .ta \w'Fformataddr 'u +\w'Aboolean 'u +\w'Rboolean 'u -.I Function Argument Result Description +.I "Function Argument Result Description" msg integer message number cur integer message is current (0 or 1) unseen integer message is unseen (0 or 1) @@ -341,7 +341,7 @@ The following functions require a date component as an argument: .RS 5 .nf .ta \w'Fformataddr 'u +\w'Aboolean 'u +\w'Rboolean 'u -.I Function Argument Return Description +.I "Function Argument Return Description" sec date integer seconds of the minute min date integer minutes of the hour hour date integer hours of the day (0-23) @@ -377,7 +377,7 @@ the first address present in the header component. .RS 5 .nf .ta \w'Fformataddr 'u +\w'Aboolean 'u +\w'Rboolean 'u -.I Function Argument Return Description +.I "Function Argument Return Description" proper addr string official 822 rendering friendly addr string user-friendly rendering addr addr string mbox@host or host!mbox rendering* diff --git a/man/mh-sequence.man b/man/mh-sequence.man index 12fdb1c..68941eb 100644 --- a/man/mh-sequence.man +++ b/man/mh-sequence.man @@ -27,7 +27,7 @@ or one of these \*(lqreserved\*(rq message names: .RS 5 .nf .ta +\w'\fIName\fP 'u -.I Name Description +.I "Name Description" first the first message in the folder last the last message in the folder cur the most recently accessed message diff --git a/man/mhl.man b/man/mhl.man index a5dc12e..cc5254d 100644 --- a/man/mhl.man +++ b/man/mhl.man @@ -207,7 +207,7 @@ bell, clearscreen, width, length). .RS 5 .nf .ta \w'noclearscreen 'u +\w'integer/G 'u -.I variable type semantics +.I "variable type semantics" width integer screen width or component width length integer screen length or component length offset integer positions to indent \*(lqcomponent: \*(rq diff --git a/man/rcvdist.man b/man/rcvdist.man index f24ea8e..b82ae53 100644 --- a/man/rcvdist.man +++ b/man/rcvdist.man @@ -50,7 +50,7 @@ escape: .RS 5 .nf .ta \w'Dtimenow 'u +\w'Returns 'u -.I Escape Returns Description +.I "Escape Returns Description" addresses string the addresses to distribute to .fi .RE diff --git a/man/repl.man b/man/repl.man index 112cca9..4c04887 100644 --- a/man/repl.man +++ b/man/repl.man @@ -394,7 +394,7 @@ escape: .RS 5 .nf .ta \w'Escape 'u +\w'Returns 'u -.I Escape Returns Description +.I "Escape Returns Description" fcc string Any folders specified with `\-fcc\ folder' .fi .RE diff --git a/man/scan.man b/man/scan.man index d9d5271..0d0b762 100644 --- a/man/scan.man +++ b/man/scan.man @@ -37,7 +37,7 @@ and, if room allows, some of the body of the message. For example: .nf .ta \w'15+- 'u +\w'07/\|05x 'u +\w'Dcrocker 'u 15+ 10/\|05 crocker nned\0\0< /dev/null 2>>"$actual" + groff -Tutf8 -mandoc -ww "$manpage" > /dev/null 2>>"$actual" done check "$expected" "$actual"