From 332a2176094538e094fed8f1e5e251feb6b666e9 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 17 Jun 2017 22:43:14 +0000 Subject: style message about missing RCS ids; inspired by mdoclint --- regress/tbl/data/block_unclosed.out_lint | 1 + regress/tbl/data/empty.out_lint | 1 + regress/tbl/layout/center.in | 2 +- regress/tbl/layout/center.out_ascii | 2 +- regress/tbl/layout/complex.out_lint | 1 + regress/tbl/layout/empty.out_lint | 1 + regress/tbl/layout/numbers.in | 2 +- regress/tbl/layout/numbers.out_ascii | 2 +- regress/tbl/layout/span.in | 2 +- regress/tbl/layout/span.out_ascii | 2 +- regress/tbl/macro/man.in | 2 +- regress/tbl/macro/man.out_ascii | 2 +- regress/tbl/macro/man.out_lint | 1 + regress/tbl/macro/nested.in | 2 +- regress/tbl/macro/nested.out_ascii | 2 +- regress/tbl/macro/nested.out_lint | 1 + regress/tbl/mod/badfont.out_lint | 1 + regress/tbl/mod/font.out_lint | 1 + regress/tbl/opt/box.in | 4 ++-- regress/tbl/opt/box.out_ascii | 6 +++--- regress/tbl/opt/invalid.out_lint | 1 + 21 files changed, 24 insertions(+), 15 deletions(-) (limited to 'regress/tbl') diff --git a/regress/tbl/data/block_unclosed.out_lint b/regress/tbl/data/block_unclosed.out_lint index d1406948..14d78435 100644 --- a/regress/tbl/data/block_unclosed.out_lint +++ b/regress/tbl/data/block_unclosed.out_lint @@ -1,2 +1,3 @@ mandoc: block_unclosed.in:6:2: ERROR: data block open at end of tbl: TE mandoc: block_unclosed.in:29:2: ERROR: data block open at end of tbl: T& +mandoc: block_unclosed.in: STYLE: RCS id missing diff --git a/regress/tbl/data/empty.out_lint b/regress/tbl/data/empty.out_lint index 0244cdd7..e649a9ef 100644 --- a/regress/tbl/data/empty.out_lint +++ b/regress/tbl/data/empty.out_lint @@ -1 +1,2 @@ mandoc: empty.in:6:2: ERROR: tbl without any data cells +mandoc: empty.in: STYLE: RCS id missing diff --git a/regress/tbl/layout/center.in b/regress/tbl/layout/center.in index 39533361..f4edc37d 100644 --- a/regress/tbl/layout/center.in +++ b/regress/tbl/layout/center.in @@ -1,4 +1,4 @@ -.TH TBL-LAYOUT-CENTER 1 +.TH TBL-LAYOUT-CENTER 1 "June 17, 2017" OpenBSD .SH NAME tbl-layout-center \- centering of table cells .SH DESCRIPTION diff --git a/regress/tbl/layout/center.out_ascii b/regress/tbl/layout/center.out_ascii index a77bb7b4..3196fff6 100644 --- a/regress/tbl/layout/center.out_ascii +++ b/regress/tbl/layout/center.out_ascii @@ -22,4 +22,4 @@ DDEESSCCRRIIPPTTIIOONN - TBL-LAYOUT-CENTER(1) +OpenBSD June 17, 2017 TBL-LAYOUT-CENTER(1) diff --git a/regress/tbl/layout/complex.out_lint b/regress/tbl/layout/complex.out_lint index a72604fb..cff7fe19 100644 --- a/regress/tbl/layout/complex.out_lint +++ b/regress/tbl/layout/complex.out_lint @@ -3,3 +3,4 @@ mandoc: complex.in:8:28: WARNING: skipping vertical bar in tbl layout mandoc: complex.in:10:7: ERROR: ignoring data in spanned tbl cell: h mandoc: complex.in:16:3: WARNING: tbl column starts with span mandoc: complex.in:18:3: ERROR: ignoring data in spanned tbl cell: b +mandoc: complex.in: STYLE: RCS id missing diff --git a/regress/tbl/layout/empty.out_lint b/regress/tbl/layout/empty.out_lint index 20ae24a5..e54db3a0 100644 --- a/regress/tbl/layout/empty.out_lint +++ b/regress/tbl/layout/empty.out_lint @@ -1,2 +1,3 @@ mandoc: empty.in:7:2: ERROR: empty tbl layout mandoc: empty.in:12:3: ERROR: empty tbl layout +mandoc: empty.in: STYLE: RCS id missing diff --git a/regress/tbl/layout/numbers.in b/regress/tbl/layout/numbers.in index 24f1cada..591b5ff2 100644 --- a/regress/tbl/layout/numbers.in +++ b/regress/tbl/layout/numbers.in @@ -1,4 +1,4 @@ -.TH TBL-LAYOUT-NUMBERS 1 +.TH TBL-LAYOUT-NUMBERS 1 "January 29, 2017" OpenBSD .SH NAME tbl-layout-numbers \- alignment of numbers in tables .SH DESCRIPTION diff --git a/regress/tbl/layout/numbers.out_ascii b/regress/tbl/layout/numbers.out_ascii index c93d12b0..b3b8bdfc 100644 --- a/regress/tbl/layout/numbers.out_ascii +++ b/regress/tbl/layout/numbers.out_ascii @@ -15,4 +15,4 @@ DDEESSCCRRIIPPTTIIOONN +---++-------+--------+ - TBL-LAYOUT-NUMBERS(1) +OpenBSD January 29, 2017 TBL-LAYOUT-NUMBERS(1) diff --git a/regress/tbl/layout/span.in b/regress/tbl/layout/span.in index d5fef0c7..9b2d7db7 100644 --- a/regress/tbl/layout/span.in +++ b/regress/tbl/layout/span.in @@ -1,4 +1,4 @@ -.TH TBL-LAYOUT-SPAN 1 +.TH TBL-LAYOUT-SPAN 1 "June 17, 2017" OpenBSD .SH NAME tbl-layout-span \- alignment of spanned cells .SH DESCRIPTION diff --git a/regress/tbl/layout/span.out_ascii b/regress/tbl/layout/span.out_ascii index e439a766..bc4badca 100644 --- a/regress/tbl/layout/span.out_ascii +++ b/regress/tbl/layout/span.out_ascii @@ -41,4 +41,4 @@ DDEESSCCRRIIPPTTIIOONN - TBL-LAYOUT-SPAN(1) +OpenBSD June 17, 2017 TBL-LAYOUT-SPAN(1) diff --git a/regress/tbl/macro/man.in b/regress/tbl/macro/man.in index 36e39569..3ce5bd0d 100644 --- a/regress/tbl/macro/man.in +++ b/regress/tbl/macro/man.in @@ -1,4 +1,4 @@ -.TH TBL-MACRO-MAN 1 "December 16, 2014" +.TH TBL-MACRO-MAN 1 "December 16, 2014" OpenBSD .SH NAME tbl-macro-man \- man macro in a table .SH DESCRIPTION diff --git a/regress/tbl/macro/man.out_ascii b/regress/tbl/macro/man.out_ascii index 2a96f0b7..207347a0 100644 --- a/regress/tbl/macro/man.out_ascii +++ b/regress/tbl/macro/man.out_ascii @@ -17,4 +17,4 @@ DDEESSCCRRIIPPTTIIOONN - December 16, 2014 TBL-MACRO-MAN(1) +OpenBSD December 16, 2014 TBL-MACRO-MAN(1) diff --git a/regress/tbl/macro/man.out_lint b/regress/tbl/macro/man.out_lint index 292af268..a7392ef0 100644 --- a/regress/tbl/macro/man.out_lint +++ b/regress/tbl/macro/man.out_lint @@ -1,2 +1,3 @@ mandoc: man.in:9:5: ERROR: ignoring extra tbl data cells: stray mandoc: man.in:12:2: UNSUPP: ignoring macro in table: SM d +mandoc: man.in: STYLE: RCS id missing diff --git a/regress/tbl/macro/nested.in b/regress/tbl/macro/nested.in index 35844eb5..09383f6f 100644 --- a/regress/tbl/macro/nested.in +++ b/regress/tbl/macro/nested.in @@ -1,4 +1,4 @@ -.TH TBL-MACRO-NESTED 1 "December 16, 2014" +.TH TBL-MACRO-NESTED 1 "December 16, 2014" OpenBSD .SH NAME tbl-macro-nested \- nested table .SH DESCRIPTION diff --git a/regress/tbl/macro/nested.out_ascii b/regress/tbl/macro/nested.out_ascii index 24a5c17a..2c5dce77 100644 --- a/regress/tbl/macro/nested.out_ascii +++ b/regress/tbl/macro/nested.out_ascii @@ -18,4 +18,4 @@ DDEESSCCRRIIPPTTIIOONN - December 16, 2014 TBL-MACRO-NESTED(1) +OpenBSD December 16, 2014 TBL-MACRO-NESTED(1) diff --git a/regress/tbl/macro/nested.out_lint b/regress/tbl/macro/nested.out_lint index 0f650c85..1a3ac729 100644 --- a/regress/tbl/macro/nested.out_lint +++ b/regress/tbl/macro/nested.out_lint @@ -1 +1,2 @@ mandoc: nested.in:12:4: UNSUPP: ignoring macro in table: TS +mandoc: nested.in: STYLE: RCS id missing diff --git a/regress/tbl/mod/badfont.out_lint b/regress/tbl/mod/badfont.out_lint index 0882648c..d12bd51d 100644 --- a/regress/tbl/mod/badfont.out_lint +++ b/regress/tbl/mod/badfont.out_lint @@ -1,2 +1,3 @@ mandoc: badfont.in:8:7: WARNING: unknown font, skipping request: TS f mandoc: badfont.in:9:7: WARNING: unknown font, skipping request: TS f. +mandoc: badfont.in: STYLE: RCS id missing diff --git a/regress/tbl/mod/font.out_lint b/regress/tbl/mod/font.out_lint index d45d1896..de4cf571 100644 --- a/regress/tbl/mod/font.out_lint +++ b/regress/tbl/mod/font.out_lint @@ -3,3 +3,4 @@ mandoc: font.in:18:2: WARNING: tab in filled text mandoc: font.in:18:4: WARNING: tab in filled text mandoc: font.in:18:6: WARNING: tab in filled text mandoc: font.in:18:8: WARNING: tab in filled text +mandoc: font.in: STYLE: RCS id missing diff --git a/regress/tbl/opt/box.in b/regress/tbl/opt/box.in index 47b1bf87..ea255fdc 100644 --- a/regress/tbl/opt/box.in +++ b/regress/tbl/opt/box.in @@ -1,6 +1,6 @@ -.TH TBL-VERT 1 +.TH TBL-OPT-BOX 1 "June 12, 2017" OpenBSD .SH NAME -tbl-vert \- vertical lines +tbl-opt-box \- box table options .SH DESCRIPTION no boxing: .TS diff --git a/regress/tbl/opt/box.out_ascii b/regress/tbl/opt/box.out_ascii index d1051379..cef861c6 100644 --- a/regress/tbl/opt/box.out_ascii +++ b/regress/tbl/opt/box.out_ascii @@ -1,9 +1,9 @@ -TBL-VERT(1) General Commands Manual TBL-VERT(1) +TBL-OPT-BOX(1) General Commands Manual TBL-OPT-BOX(1) NNAAMMEE - tbl-vert - vertical lines + tbl-opt-box - box table options DDEESSCCRRIIPPTTIIOONN no boxing: @@ -51,4 +51,4 @@ DDEESSCCRRIIPPTTIIOONN +--++--+ - TBL-VERT(1) +OpenBSD June 12, 2017 TBL-OPT-BOX(1) diff --git a/regress/tbl/opt/invalid.out_lint b/regress/tbl/opt/invalid.out_lint index 56c65e47..db82c156 100644 --- a/regress/tbl/opt/invalid.out_lint +++ b/regress/tbl/opt/invalid.out_lint @@ -3,3 +3,4 @@ mandoc: invalid.in:7:19: ERROR: wrong tbl option argument size: decimalpoint wan mandoc: invalid.in:7:23: ERROR: non-alphabetic character in tbl options: % mandoc: invalid.in:7:24: ERROR: skipping unknown tbl option: foo mandoc: invalid.in:15:21: UNSUPP: eqn delim option in tbl: $$ +mandoc: invalid.in: STYLE: RCS id missing -- cgit v1.2.3-56-ge451