diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-20 15:26:41 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-07-20 15:26:41 +0000 |
commit | c257c8a3f34243f4c544a843c2ec61577f07aabe (patch) | |
tree | ade03e4176844a2393bdd330d50b88b375366c64 /mandoc.1 | |
parent | 0d1c0a686376f865341ab91184438f959f98dc68 (diff) | |
download | mandoc-c257c8a3f34243f4c544a843c2ec61577f07aabe.tar.gz mandoc-c257c8a3f34243f4c544a843c2ec61577f07aabe.tar.zst mandoc-c257c8a3f34243f4c544a843c2ec61577f07aabe.zip |
For -Tlint, put parser messages on stdout instead of stderr.
Originally, naddy@ requested this in 2011 (or maybe even earlier).
It was discussed with joerg@, kristaps@, naddy@, and espie@ in 2011,
and everybody agreed in principle, but it was postponed because
kristaps@ wanted to do some cleanup of the message system first.
Meanwhile, message infrastructure was improved about a dozen times...
This makes long, tedious commands like "mandoc -Tlint *.1 2>&1 | less"
unnecessary and allows simple ones like "man -l -Tlint *.1".
Diffstat (limited to 'mandoc.1')
-rw-r--r-- | mandoc.1 | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,4 +1,4 @@ -.\" $Id: mandoc.1,v 1.216 2017/07/07 16:20:30 schwarze Exp $ +.\" $Id: mandoc.1,v 1.217 2017/07/20 15:26:41 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2012, 2014-2017 Ingo Schwarze <schwarze@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: July 7 2017 $ +.Dd $Mdocdate: July 20 2017 $ .Dt MANDOC 1 .Os .Sh NAME @@ -238,7 +238,9 @@ See .It Fl T Cm lint Parse only: produce no output. Implies -.Fl W Cm all . +.Fl W Cm all +and redirects parser messages, which usually appear +on standard error output, to standard output. .It Fl T Cm locale Encode output using the current locale. This is the default. |