summaryrefslogtreecommitdiffstats
path: root/regress/man/TH
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-01-19 16:44:50 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-01-19 16:44:50 +0000
commit997afdc8d9bfb322c69f12820e5299a5cbca4fba (patch)
tree458f1731d8143930bf5485c03d1d76303963ca81 /regress/man/TH
parente7053cbde7464907196871161ebc3a69546a11ab (diff)
downloadmandoc-997afdc8d9bfb322c69f12820e5299a5cbca4fba.tar.gz
Align to the new, sane behaviour of the groff_mdoc(7) .Dd macro:
without an argument, use the empty string, and always concatenate all arguments, no matter their number. This allows reducing the number of arguments of mandoc_normdate() and some other simplifications, at the same time polishing some error messages by adding the name of the macro in question.
Diffstat (limited to 'regress/man/TH')
-rw-r--r--regress/man/TH/baddate.out_lint2
-rw-r--r--regress/man/TH/emptydate.out_lint2
-rw-r--r--regress/man/TH/longdate.out_lint2
-rw-r--r--regress/man/TH/noTH.out_lint2
-rw-r--r--regress/man/TH/noarg.out_lint2
-rw-r--r--regress/man/TH/onearg.out_lint2
-rw-r--r--regress/man/TH/twoargs.out_lint2
7 files changed, 7 insertions, 7 deletions
diff --git a/regress/man/TH/baddate.out_lint b/regress/man/TH/baddate.out_lint
index 6785463d..eed40c28 100644
--- a/regress/man/TH/baddate.out_lint
+++ b/regress/man/TH/baddate.out_lint
@@ -1 +1 @@
-mandoc: baddate.in:2:18: WARNING: cannot parse date, using it verbatim: three bad words
+mandoc: baddate.in:2:18: WARNING: cannot parse date, using it verbatim: TH three bad words
diff --git a/regress/man/TH/emptydate.out_lint b/regress/man/TH/emptydate.out_lint
index dba0e545..15f4f171 100644
--- a/regress/man/TH/emptydate.out_lint
+++ b/regress/man/TH/emptydate.out_lint
@@ -1 +1 @@
-mandoc: emptydate.in:2:20: WARNING: missing date, using today's date: TH
+mandoc: emptydate.in:2:20: WARNING: missing date, using "": TH
diff --git a/regress/man/TH/longdate.out_lint b/regress/man/TH/longdate.out_lint
index 3006dad3..45d0ef0b 100644
--- a/regress/man/TH/longdate.out_lint
+++ b/regress/man/TH/longdate.out_lint
@@ -1 +1 @@
-mandoc: longdate.in:2:19: WARNING: cannot parse date, using it verbatim: 1234567890123456789012345678901234567890123456789012345678901234567890123456789012
+mandoc: longdate.in:2:19: WARNING: cannot parse date, using it verbatim: TH 1234567890123456789012345678901234567890123456789012345678901234567890123456789012
diff --git a/regress/man/TH/noTH.out_lint b/regress/man/TH/noTH.out_lint
index 01b7b045..407308cb 100644
--- a/regress/man/TH/noTH.out_lint
+++ b/regress/man/TH/noTH.out_lint
@@ -1,2 +1,2 @@
mandoc: noTH.in: WARNING: missing manual title, using ""
-mandoc: noTH.in: WARNING: missing date, using today's date
+mandoc: noTH.in: WARNING: missing date, using ""
diff --git a/regress/man/TH/noarg.out_lint b/regress/man/TH/noarg.out_lint
index f4273215..fb994099 100644
--- a/regress/man/TH/noarg.out_lint
+++ b/regress/man/TH/noarg.out_lint
@@ -1,3 +1,3 @@
mandoc: noarg.in:2:2: WARNING: missing manual title, using "": TH
mandoc: noarg.in:2:2: WARNING: missing manual section, using "": TH
-mandoc: noarg.in:2:2: WARNING: missing date, using today's date: TH
+mandoc: noarg.in:2:2: WARNING: missing date, using "": TH
diff --git a/regress/man/TH/onearg.out_lint b/regress/man/TH/onearg.out_lint
index 65062684..e86ec4e2 100644
--- a/regress/man/TH/onearg.out_lint
+++ b/regress/man/TH/onearg.out_lint
@@ -1,2 +1,2 @@
mandoc: onearg.in:2:2: WARNING: missing manual section, using "": TH TH-ONEARG
-mandoc: onearg.in:2:2: WARNING: missing date, using today's date: TH
+mandoc: onearg.in:2:2: WARNING: missing date, using "": TH
diff --git a/regress/man/TH/twoargs.out_lint b/regress/man/TH/twoargs.out_lint
index 3cd469f5..0211ddfa 100644
--- a/regress/man/TH/twoargs.out_lint
+++ b/regress/man/TH/twoargs.out_lint
@@ -1,2 +1,2 @@
mandoc: twoargs.in:2:2: WARNING: missing manual section, using "": TH TH-TWOARGS
-mandoc: twoargs.in:2:2: WARNING: missing date, using today's date: TH
+mandoc: twoargs.in:2:2: WARNING: missing date, using "": TH