summaryrefslogtreecommitdiffstats
path: root/manuals.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-07-27 13:10:08 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-07-27 13:10:08 +0000
commit5226c4fdcd61545e72ba42ed649a213a893e2411 (patch)
tree093970852bdbb48a723e18ad495619b858f8ea5e /manuals.7
parent1d1eaff780bcc4af2a8048cec63b5e2bedf16337 (diff)
downloadmandoc-5226c4fdcd61545e72ba42ed649a213a893e2411.tar.gz
Re-ordered ascii.in looking for dupes.
Added `vim -q' tip to manuals.7 (thanks uqs@sporlein.net). ifdef'd production of missing specials/predefines.
Diffstat (limited to 'manuals.7')
-rw-r--r--manuals.712
1 files changed, 11 insertions, 1 deletions
diff --git a/manuals.7 b/manuals.7
index e685891c..37d13737 100644
--- a/manuals.7
+++ b/manuals.7
@@ -106,7 +106,17 @@ for this document. Rename the template file:
.Ss Development Tools
While writing, make sure that your manual is correctly structured:
.Pp
-.Dl % mandoc \-Tlint \-Wall name.1
+.Dl % mandoc \-Tlint \-Wall \-fstrict name.1
+.Pp
+The quick-fix feature of
+.Xr vim 1
+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
+% vim -q /tmp/mandoc.errs
+.Ed
.Pp
You may spell-check your work as follows:
.Pp