aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-09-12 00:10:26 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-09-12 00:10:26 +0000
commite87764af026befe56bf121a50708564d413fa82c (patch)
tree89c66b9daaa1f72002e67c0067f301c2a66c0ad6 /mandoc.1
parentaa5a603865c1cffc40900d4d20fa22fe1a875691 (diff)
downloadmandoc-e87764af026befe56bf121a50708564d413fa82c.tar.gz
mandoc-e87764af026befe56bf121a50708564d413fa82c.tar.zst
mandoc-e87764af026befe56bf121a50708564d413fa82c.zip
document new SEE ALSO .Xr warnings
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.120
1 files changed, 18 insertions, 2 deletions
diff --git a/mandoc.1 b/mandoc.1
index ee4c4c51..2c5dccbc 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.111 2014/09/07 23:25:01 schwarze Exp $
+.\" $Id: mandoc.1,v 1.112 2014/09/12 00:10:26 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2012, 2014 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: September 7 2014 $
+.Dd $Mdocdate: September 12 2014 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -766,6 +766,22 @@ The same standard section title occurs more than once.
.Pq mdoc
A standard section header occurs in a section of the manual
where it normally isn't useful.
+.It Sy "unusual Xr order"
+.Pq mdoc
+In the SEE ALSO section, an
+.Ic \&Xr
+macro with a lower section number follows one with a higher number,
+or two
+.Ic \&Xr
+macros refering to the same section are out of alphabetical order.
+.It Sy "unusual Xr punctuation"
+.Pq mdoc
+In the SEE ALSO section, punctuation between two
+.Ic \&Xr
+macros differs from a single comma, or there is trailing punctuation
+after the last
+.Ic \&Xr
+macro.
.It Sy "AUTHORS section without An macro"
.Pq mdoc
An AUTHORS sections contains no