aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/mdoc/Nm
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-11 19:37:00 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-11 19:37:00 +0000
commit565360053d62a3b5df9e9ccc0926c3e6340fef63 (patch)
treef4f2345878db47d41e74be046a7f42937eef4378 /regress/mdoc/Nm
parentd686462c7725fa8c3cab24acbaf5242bc67ad61a (diff)
downloadmandoc-565360053d62a3b5df9e9ccc0926c3e6340fef63.tar.gz
mandoc-565360053d62a3b5df9e9ccc0926c3e6340fef63.tar.zst
mandoc-565360053d62a3b5df9e9ccc0926c3e6340fef63.zip
Style message about legacy man(7) date format in mdoc(7) documents
and operating system dependent messages about missing or unexpected Mdocdate; inspired by mdoclint(1).
Diffstat (limited to 'regress/mdoc/Nm')
-rw-r--r--regress/mdoc/Nm/badNAME.out_lint1
-rw-r--r--regress/mdoc/Nm/badNAMEuse.out_lint1
-rw-r--r--regress/mdoc/Nm/break.out_lint1
-rw-r--r--regress/mdoc/Nm/broken.out_lint1
-rw-r--r--regress/mdoc/Nm/punct.out_lint1
5 files changed, 5 insertions, 0 deletions
diff --git a/regress/mdoc/Nm/badNAME.out_lint b/regress/mdoc/Nm/badNAME.out_lint
index 8a5963d7..a8a6c51b 100644
--- a/regress/mdoc/Nm/badNAME.out_lint
+++ b/regress/mdoc/Nm/badNAME.out_lint
@@ -1,2 +1,3 @@
+mandoc: badNAME.in:1:5: STYLE: Mdocdate missing: Dd July
mandoc: badNAME.in:5:2: ERROR: missing manual name, using "": Nm
mandoc: badNAME.in:5:5: WARNING: bad NAME section content: Bx
diff --git a/regress/mdoc/Nm/badNAMEuse.out_lint b/regress/mdoc/Nm/badNAMEuse.out_lint
index 7b1c802f..ec925e82 100644
--- a/regress/mdoc/Nm/badNAMEuse.out_lint
+++ b/regress/mdoc/Nm/badNAMEuse.out_lint
@@ -1,2 +1,3 @@
+mandoc: badNAMEuse.in:1:5: STYLE: Mdocdate missing: Dd July
mandoc: badNAMEuse.in:5:2: ERROR: missing manual name, using "": Nm
mandoc: badNAMEuse.in:5:5: WARNING: bad NAME section content: Bx
diff --git a/regress/mdoc/Nm/break.out_lint b/regress/mdoc/Nm/break.out_lint
index 409b5812..79698c84 100644
--- a/regress/mdoc/Nm/break.out_lint
+++ b/regress/mdoc/Nm/break.out_lint
@@ -1 +1,2 @@
mandoc: break.in:9:2: ERROR: inserting missing end of block: Sh breaks Bo
+mandoc: break.in:1:5: STYLE: Mdocdate missing: Dd August
diff --git a/regress/mdoc/Nm/broken.out_lint b/regress/mdoc/Nm/broken.out_lint
index 4a5eb2ae..828bcbc8 100644
--- a/regress/mdoc/Nm/broken.out_lint
+++ b/regress/mdoc/Nm/broken.out_lint
@@ -1,2 +1,3 @@
mandoc: broken.in:17:2: WARNING: blocks badly nested: Oo breaks Bk
+mandoc: broken.in:1:5: STYLE: Mdocdate missing: Dd February
mandoc: broken.in:13:2: WARNING: moving content out of list: Oo
diff --git a/regress/mdoc/Nm/punct.out_lint b/regress/mdoc/Nm/punct.out_lint
index 45f906b3..da4ba2d6 100644
--- a/regress/mdoc/Nm/punct.out_lint
+++ b/regress/mdoc/Nm/punct.out_lint
@@ -1 +1,2 @@
+mandoc: punct.in:1:5: STYLE: Mdocdate missing: Dd June
mandoc: punct.in:42:13: STYLE: no blank before trailing delimiter: Nm Nm-punct.