diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-27 19:43:02 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-07-27 19:43:02 +0000 |
commit | 9a6a4eb84af13ded9474fbe8c1363fb2482a3492 (patch) | |
tree | d5880b4b475a3ff20bd63bef80818bae6c5970b7 /manuals.7 | |
parent | b47e561cf549df2f08947057fecfe611e1f25f89 (diff) | |
download | mandoc-9a6a4eb84af13ded9474fbe8c1363fb2482a3492.tar.gz mandoc-9a6a4eb84af13ded9474fbe8c1363fb2482a3492.tar.zst mandoc-9a6a4eb84af13ded9474fbe8c1363fb2482a3492.zip |
main.c using fprintf instead of warnx for parse errors (like cc).
Error string is now file:line:col: message.
Removed sed from vim -q example in manuals.7.
Fixed column reporting (off by one).
Diffstat (limited to 'manuals.7')
-rw-r--r-- | manuals.7 | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,4 +1,4 @@ -.\" $Id: manuals.7,v 1.18 2009/07/27 13:10:08 kristaps Exp $ +.\" $Id: manuals.7,v 1.19 2009/07/27 19:43:02 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se> .\" @@ -113,8 +113,7 @@ The quick-fix feature of is useful for checking over many manuals: .Bd -literal -offset indent % mandoc \-Wall \-fstrict \-Tlint \-fign-errors \e - `find /usr/src \-name \e*\e.[1-9]` 2>&1 | \e - sed 's!^mandoc: !!' > /tmp/mandoc.errs + ./path/to/manuals/* 2>&1 > /tmp/mandoc.errs % vim -q /tmp/mandoc.errs .Ed .Pp |