From 959e13946ac72fdcc61b9786185c99495d11f1db Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 17 Jun 2017 22:44:40 +0000 Subject: style message about missing RCS ids; inspired by mdoclint --- regress/mdoc/Sh/badNAME.out_lint | 1 + regress/mdoc/Sh/before.out_lint | 1 + regress/mdoc/Sh/empty.out_lint | 1 + regress/mdoc/Sh/emptyNAME.out_lint | 1 + regress/mdoc/Sh/first.out_lint | 1 + regress/mdoc/Sh/nohead.out_lint | 1 + regress/mdoc/Sh/order.out_lint | 1 + regress/mdoc/Sh/orderNAME.out_lint | 1 + regress/mdoc/Sh/parbefore.out_lint | 1 + regress/mdoc/Sh/parborder.out_lint | 1 + regress/mdoc/Sh/punctNAME.out_lint | 1 + regress/mdoc/Sh/subbefore.out_lint | 1 + 12 files changed, 12 insertions(+) (limited to 'regress/mdoc/Sh') diff --git a/regress/mdoc/Sh/badNAME.out_lint b/regress/mdoc/Sh/badNAME.out_lint index 9f008a18..8ea4f1c0 100644 --- a/regress/mdoc/Sh/badNAME.out_lint +++ b/regress/mdoc/Sh/badNAME.out_lint @@ -1,3 +1,4 @@ mandoc: badNAME.in:1:5: STYLE: Mdocdate missing: Dd July mandoc: badNAME.in:5:2: WARNING: bad NAME section content: Em mandoc: badNAME.in:4:2: WARNING: NAME section without description +mandoc: badNAME.in: STYLE: RCS id missing diff --git a/regress/mdoc/Sh/before.out_lint b/regress/mdoc/Sh/before.out_lint index 7cfe763e..b0a48836 100644 --- a/regress/mdoc/Sh/before.out_lint +++ b/regress/mdoc/Sh/before.out_lint @@ -1,2 +1,3 @@ mandoc: before.in:1:5: STYLE: Mdocdate missing: Dd July +mandoc: before.in: STYLE: RCS id missing mandoc: before.in:4:1: WARNING: content before first section header: text diff --git a/regress/mdoc/Sh/empty.out_lint b/regress/mdoc/Sh/empty.out_lint index 1672d581..8f3b54fc 100644 --- a/regress/mdoc/Sh/empty.out_lint +++ b/regress/mdoc/Sh/empty.out_lint @@ -1,2 +1,3 @@ mandoc: empty.in:9:2: ERROR: inserting missing end of block: Sh breaks Xo mandoc: empty.in:1:5: STYLE: Mdocdate missing: Dd November +mandoc: empty.in: STYLE: RCS id missing diff --git a/regress/mdoc/Sh/emptyNAME.out_lint b/regress/mdoc/Sh/emptyNAME.out_lint index 45804744..f817d3dd 100644 --- a/regress/mdoc/Sh/emptyNAME.out_lint +++ b/regress/mdoc/Sh/emptyNAME.out_lint @@ -1,3 +1,4 @@ mandoc: emptyNAME.in:1:5: STYLE: Mdocdate missing: Dd July mandoc: emptyNAME.in:4:2: WARNING: NAME section without Nm before Nd mandoc: emptyNAME.in:4:2: WARNING: NAME section without description +mandoc: emptyNAME.in: STYLE: RCS id missing diff --git a/regress/mdoc/Sh/first.out_lint b/regress/mdoc/Sh/first.out_lint index c19ec77d..87169e58 100644 --- a/regress/mdoc/Sh/first.out_lint +++ b/regress/mdoc/Sh/first.out_lint @@ -1,2 +1,3 @@ mandoc: first.in:1:5: STYLE: Mdocdate missing: Dd July mandoc: first.in:4:2: WARNING: first section is not "NAME": Sh DESCRIPTION +mandoc: first.in: STYLE: RCS id missing diff --git a/regress/mdoc/Sh/nohead.out_lint b/regress/mdoc/Sh/nohead.out_lint index 78e046c6..c40bf929 100644 --- a/regress/mdoc/Sh/nohead.out_lint +++ b/regress/mdoc/Sh/nohead.out_lint @@ -1,3 +1,4 @@ mandoc: nohead.in:9:2: WARNING: skipping empty macro: Sh mandoc: nohead.in:11:2: WARNING: skipping empty macro: Ss mandoc: nohead.in:1:5: STYLE: Mdocdate missing: Dd February +mandoc: nohead.in: STYLE: RCS id missing diff --git a/regress/mdoc/Sh/order.out_lint b/regress/mdoc/Sh/order.out_lint index 52f42595..33ca5b26 100644 --- a/regress/mdoc/Sh/order.out_lint +++ b/regress/mdoc/Sh/order.out_lint @@ -2,3 +2,4 @@ mandoc: order.in:1:5: STYLE: Mdocdate missing: Dd July mandoc: order.in:9:2: WARNING: sections out of conventional order: Sh SYNOPSIS mandoc: order.in:10:2: WARNING: duplicate section title: Sh SYNOPSIS mandoc: order.in:11:2: WARNING: unexpected section: Sh ERRORS for 2, 3, 4, 9 only +mandoc: order.in: STYLE: RCS id missing diff --git a/regress/mdoc/Sh/orderNAME.out_lint b/regress/mdoc/Sh/orderNAME.out_lint index 5b3a88cd..269761ef 100644 --- a/regress/mdoc/Sh/orderNAME.out_lint +++ b/regress/mdoc/Sh/orderNAME.out_lint @@ -1,3 +1,4 @@ mandoc: orderNAME.in:1:5: STYLE: Mdocdate missing: Dd January mandoc: orderNAME.in:5:2: WARNING: description not at the end of NAME mandoc: orderNAME.in:4:2: WARNING: NAME section without Nm before Nd +mandoc: orderNAME.in: STYLE: RCS id missing diff --git a/regress/mdoc/Sh/parbefore.out_lint b/regress/mdoc/Sh/parbefore.out_lint index 86e6c69d..bbb4ec84 100644 --- a/regress/mdoc/Sh/parbefore.out_lint +++ b/regress/mdoc/Sh/parbefore.out_lint @@ -1,2 +1,3 @@ mandoc: parbefore.in:1:5: STYLE: Mdocdate missing: Dd April mandoc: parbefore.in:4:2: WARNING: skipping paragraph macro: Pp before Sh +mandoc: parbefore.in: STYLE: RCS id missing diff --git a/regress/mdoc/Sh/parborder.out_lint b/regress/mdoc/Sh/parborder.out_lint index 60404cab..c6a32d8f 100644 --- a/regress/mdoc/Sh/parborder.out_lint +++ b/regress/mdoc/Sh/parborder.out_lint @@ -6,3 +6,4 @@ mandoc: parborder.in:16:2: WARNING: skipping paragraph macro: Pp after Ss mandoc: parborder.in:18:2: WARNING: skipping paragraph macro: Pp at the end of Ss mandoc: parborder.in:14:2: WARNING: skipping paragraph macro: Pp before Ss mandoc: parborder.in:21:2: WARNING: skipping paragraph macro: Pp at the end of Ss +mandoc: parborder.in: STYLE: RCS id missing diff --git a/regress/mdoc/Sh/punctNAME.out_lint b/regress/mdoc/Sh/punctNAME.out_lint index 36ea06c2..845c22d9 100644 --- a/regress/mdoc/Sh/punctNAME.out_lint +++ b/regress/mdoc/Sh/punctNAME.out_lint @@ -3,3 +3,4 @@ mandoc: punctNAME.in:6:2: WARNING: missing comma before name: Nm second_name mandoc: punctNAME.in:6:17: WARNING: bad NAME section content: text mandoc: punctNAME.in:7:2: WARNING: missing comma before name: Nm third_name mandoc: punctNAME.in:7:16: WARNING: bad NAME section content: text +mandoc: punctNAME.in: STYLE: RCS id missing diff --git a/regress/mdoc/Sh/subbefore.out_lint b/regress/mdoc/Sh/subbefore.out_lint index 7200899f..94164e51 100644 --- a/regress/mdoc/Sh/subbefore.out_lint +++ b/regress/mdoc/Sh/subbefore.out_lint @@ -1,2 +1,3 @@ mandoc: subbefore.in:1:5: STYLE: Mdocdate missing: Dd July +mandoc: subbefore.in: STYLE: RCS id missing mandoc: subbefore.in:4:2: WARNING: content before first section header: Ss -- cgit