summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Dt
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
commitb96c4feac3240b0841c9ecf67b07da0607aa27b5 (patch)
tree60b7e6d126c09cb88522d0f68c4e6410e0d6f9de /regress/mdoc/Dt
parent5e455d86a5a5d8a59d1be5988f9769217208b603 (diff)
downloadmandoc-b96c4feac3240b0841c9ecf67b07da0607aa27b5.tar.gz
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/Dt')
-rw-r--r--regress/mdoc/Dt/badsec.out_lint1
-rw-r--r--regress/mdoc/Dt/case.out_lint1
-rw-r--r--regress/mdoc/Dt/dupe.out_lint1
-rw-r--r--regress/mdoc/Dt/fourargs.out_lint1
-rw-r--r--regress/mdoc/Dt/late.out_lint1
-rw-r--r--regress/mdoc/Dt/missing.out_lint1
-rw-r--r--regress/mdoc/Dt/noarg.out_lint1
-rw-r--r--regress/mdoc/Dt/nobody.out_lint1
-rw-r--r--regress/mdoc/Dt/nosec.out_lint1
-rw-r--r--regress/mdoc/Dt/order.out_lint1
10 files changed, 10 insertions, 0 deletions
diff --git a/regress/mdoc/Dt/badsec.out_lint b/regress/mdoc/Dt/badsec.out_lint
index b78a0333..3d469dee 100644
--- a/regress/mdoc/Dt/badsec.out_lint
+++ b/regress/mdoc/Dt/badsec.out_lint
@@ -1 +1,2 @@
mandoc: badsec.in:2:15: WARNING: unknown manual section: Dt ... foo
+mandoc: badsec.in:1:5: STYLE: Mdocdate missing: Dd June
diff --git a/regress/mdoc/Dt/case.out_lint b/regress/mdoc/Dt/case.out_lint
index cf85b606..921f8613 100644
--- a/regress/mdoc/Dt/case.out_lint
+++ b/regress/mdoc/Dt/case.out_lint
@@ -1 +1,2 @@
mandoc: case.in:2:6: WARNING: lower case character in document title: Dt Dt-case
+mandoc: case.in:1:5: STYLE: Mdocdate missing: Dd June
diff --git a/regress/mdoc/Dt/dupe.out_lint b/regress/mdoc/Dt/dupe.out_lint
index b355bed0..e3e7d2e0 100644
--- a/regress/mdoc/Dt/dupe.out_lint
+++ b/regress/mdoc/Dt/dupe.out_lint
@@ -1,2 +1,3 @@
+mandoc: dupe.in:1:5: STYLE: Mdocdate missing: Dd August
mandoc: dupe.in:4:2: WARNING: duplicate prologue macro: Dt
mandoc: dupe.in:10:2: WARNING: skipping late title macro: Dt
diff --git a/regress/mdoc/Dt/fourargs.out_lint b/regress/mdoc/Dt/fourargs.out_lint
index 0d4d1494..4534bb2d 100644
--- a/regress/mdoc/Dt/fourargs.out_lint
+++ b/regress/mdoc/Dt/fourargs.out_lint
@@ -1 +1,2 @@
mandoc: fourargs.in:2:25: ERROR: skipping excess arguments: Dt ... bogus
+mandoc: fourargs.in:1:5: STYLE: Mdocdate missing: Dd February
diff --git a/regress/mdoc/Dt/late.out_lint b/regress/mdoc/Dt/late.out_lint
index 4228c6ae..2901bd51 100644
--- a/regress/mdoc/Dt/late.out_lint
+++ b/regress/mdoc/Dt/late.out_lint
@@ -1,2 +1,3 @@
+mandoc: late.in:1:5: STYLE: Mdocdate missing: Dd August
mandoc: late.in:8:2: WARNING: skipping late title macro: Dt
mandoc: late.in: WARNING: missing manual title, using UNTITLED: EOF
diff --git a/regress/mdoc/Dt/missing.out_lint b/regress/mdoc/Dt/missing.out_lint
index 283a60d5..a7a3a5e3 100644
--- a/regress/mdoc/Dt/missing.out_lint
+++ b/regress/mdoc/Dt/missing.out_lint
@@ -1 +1,2 @@
+mandoc: missing.in:1:5: STYLE: Mdocdate missing: Dd August
mandoc: missing.in: WARNING: missing manual title, using UNTITLED: EOF
diff --git a/regress/mdoc/Dt/noarg.out_lint b/regress/mdoc/Dt/noarg.out_lint
index b1fafbe4..2f060904 100644
--- a/regress/mdoc/Dt/noarg.out_lint
+++ b/regress/mdoc/Dt/noarg.out_lint
@@ -1,2 +1,3 @@
mandoc: noarg.in:2:2: WARNING: missing manual title, using UNTITLED: Dt
mandoc: noarg.in:2:2: WARNING: missing manual section, using "": Dt UNTITLED
+mandoc: noarg.in:1:5: STYLE: Mdocdate missing: Dd August
diff --git a/regress/mdoc/Dt/nobody.out_lint b/regress/mdoc/Dt/nobody.out_lint
index f5439fcd..3986d728 100644
--- a/regress/mdoc/Dt/nobody.out_lint
+++ b/regress/mdoc/Dt/nobody.out_lint
@@ -1 +1,2 @@
+mandoc: nobody.in:1:5: STYLE: Mdocdate missing: Dd June
mandoc: nobody.in: WARNING: no document body
diff --git a/regress/mdoc/Dt/nosec.out_lint b/regress/mdoc/Dt/nosec.out_lint
index bddda2d7..8cfbae81 100644
--- a/regress/mdoc/Dt/nosec.out_lint
+++ b/regress/mdoc/Dt/nosec.out_lint
@@ -1 +1,2 @@
mandoc: nosec.in:2:2: WARNING: missing manual section, using "": Dt DT-NOSEC
+mandoc: nosec.in:1:5: STYLE: Mdocdate missing: Dd August
diff --git a/regress/mdoc/Dt/order.out_lint b/regress/mdoc/Dt/order.out_lint
index 5700ef89..60519940 100644
--- a/regress/mdoc/Dt/order.out_lint
+++ b/regress/mdoc/Dt/order.out_lint
@@ -1 +1,2 @@
+mandoc: order.in:1:5: STYLE: Mdocdate missing: Dd June
mandoc: order.in:3:2: WARNING: prologue macros out of order: Dt after Os