diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-02-23 13:30:03 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-02-23 13:30:03 +0000 |
commit | 898c83a0c5e7344c1ca98a66188f8472dc6ea586 (patch) | |
tree | 338e942f4a459015bab534eaf6c3335c2e8b68eb /regress/usr.bin | |
parent | 934c95ca11ef43146e012e490a9c2b2a54c41ad8 (diff) |
improve NAME section diagnostics;
confusing messages reported by Jan Stary <hans at stare dot cz>
Diffstat (limited to 'regress/usr.bin')
5 files changed, 10 insertions, 7 deletions
diff --git a/regress/usr.bin/mandoc/mdoc/Nd/broken.out_lint b/regress/usr.bin/mandoc/mdoc/Nd/broken.out_lint index ffbf4a2f226..6606c52d020 100644 --- a/regress/usr.bin/mandoc/mdoc/Nd/broken.out_lint +++ b/regress/usr.bin/mandoc/mdoc/Nd/broken.out_lint @@ -1,4 +1,6 @@ -mandoc: broken.in:5:2: WARNING: bad NAME section contents: Oo -mandoc: broken.in:9:1: WARNING: bad NAME section contents: text +mandoc: broken.in:5:2: WARNING: bad NAME section content: Oo +mandoc: broken.in:9:1: WARNING: bad NAME section content: text +mandoc: broken.in:4:2: WARNING: NAME section without name +mandoc: broken.in:4:2: WARNING: NAME section without description mandoc: broken.in:13:2: WARNING: moving content out of list: Bl mandoc: broken.in:18:1: WARNING: moving content out of list: text diff --git a/regress/usr.bin/mandoc/mdoc/Nm/badNAME.out_lint b/regress/usr.bin/mandoc/mdoc/Nm/badNAME.out_lint index c64b2006e83..8a5963d77e0 100644 --- a/regress/usr.bin/mandoc/mdoc/Nm/badNAME.out_lint +++ b/regress/usr.bin/mandoc/mdoc/Nm/badNAME.out_lint @@ -1,2 +1,2 @@ mandoc: badNAME.in:5:2: ERROR: missing manual name, using "": Nm -mandoc: badNAME.in:5:5: WARNING: bad NAME section contents: Bx +mandoc: badNAME.in:5:5: WARNING: bad NAME section content: Bx diff --git a/regress/usr.bin/mandoc/mdoc/Nm/badNAMEuse.out_lint b/regress/usr.bin/mandoc/mdoc/Nm/badNAMEuse.out_lint index 6bc1f6fe6fa..7b1c802f962 100644 --- a/regress/usr.bin/mandoc/mdoc/Nm/badNAMEuse.out_lint +++ b/regress/usr.bin/mandoc/mdoc/Nm/badNAMEuse.out_lint @@ -1,2 +1,2 @@ mandoc: badNAMEuse.in:5:2: ERROR: missing manual name, using "": Nm -mandoc: badNAMEuse.in:5:5: WARNING: bad NAME section contents: Bx +mandoc: badNAMEuse.in:5:5: WARNING: bad NAME section content: Bx diff --git a/regress/usr.bin/mandoc/mdoc/Sh/badNAME.out_lint b/regress/usr.bin/mandoc/mdoc/Sh/badNAME.out_lint index a7e6980f3a1..9fbbf668377 100644 --- a/regress/usr.bin/mandoc/mdoc/Sh/badNAME.out_lint +++ b/regress/usr.bin/mandoc/mdoc/Sh/badNAME.out_lint @@ -1,2 +1,2 @@ -mandoc: badNAME.in:5:2: WARNING: bad NAME section contents: Em -mandoc: badNAME.in:6:2: WARNING: bad NAME section contents: Nm +mandoc: badNAME.in:5:2: WARNING: bad NAME section content: Em +mandoc: badNAME.in:4:2: WARNING: NAME section without description diff --git a/regress/usr.bin/mandoc/mdoc/Sh/emptyNAME.out_lint b/regress/usr.bin/mandoc/mdoc/Sh/emptyNAME.out_lint index e0c2a62cac7..0713bec9ee3 100644 --- a/regress/usr.bin/mandoc/mdoc/Sh/emptyNAME.out_lint +++ b/regress/usr.bin/mandoc/mdoc/Sh/emptyNAME.out_lint @@ -1 +1,2 @@ -mandoc: emptyNAME.in:4:2: WARNING: bad NAME section contents: empty +mandoc: emptyNAME.in:4:2: WARNING: NAME section without name +mandoc: emptyNAME.in:4:2: WARNING: NAME section without description |