diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-06-20 22:58:42 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-06-20 22:58:42 +0000 |
commit | a9951d5f8c07fa722ecf157dd9f89c89e1bb8782 (patch) | |
tree | bdace0afdd4c85227bffdd1ef65af16ad0dae108 /include/glob.h | |
parent | 31a5545196ad14cf695ca6a7e6fa7910075b16da (diff) |
As suggested by jmc@, only include line and column numbers into messages
when they are meaningful, to avoid confusing stuff like this:
$ mandoc /dev/null
mandoc: /dev/null:0:1: FATAL: not a manual
Instead, just say:
mandoc: /dev/null: FATAL: not a manual
Another example this applies to is documents having a prologue,
but lacking a body. Do not throw a FATAL error for these; instead,
issue a warning and show the empty document, in the man(7) case with
the same amount of blank lines as groff does. Also downgrade mdoc(7)
documents having content before the first .Sh from FATAL to WARNING.
Diffstat (limited to 'include/glob.h')
0 files changed, 0 insertions, 0 deletions