aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-01 15:25:39 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-01 15:25:39 +0000
commit5325cd99ac197268bd26af0ee01d0539cb78cb61 (patch)
treeeb5e96196b19e9df6350a30ca814eda4bee9d06d /mandoc.1
parentad7197291eca5fd8e810a5cebb0f9c81a323c637 (diff)
downloadmandoc-5325cd99ac197268bd26af0ee01d0539cb78cb61.tar.gz
mandoc-5325cd99ac197268bd26af0ee01d0539cb78cb61.tar.zst
mandoc-5325cd99ac197268bd26af0ee01d0539cb78cb61.zip
STYLE message about full stop at the end of .Nd; inspired by mdoclint(1)
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.19
1 files changed, 7 insertions, 2 deletions
diff --git a/mandoc.1 b/mandoc.1
index 6ec18a96..b0865f93 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.191 2017/05/31 15:31:00 schwarze Exp $
+.\" $Id: mandoc.1,v 1.192 2017/06/01 15:25:39 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: May 31 2017 $
+.Dd $Mdocdate: June 1 2017 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -763,6 +763,11 @@ macro that could be represented using
.Ic \&Fx ,
or
.Ic \&Dx .
+.It Sy "description line ends with a full stop"
+.Pq mdoc
+Do not use punctuation at the end of an
+.Ic \&Nd
+block.
.El
.Ss Warnings related to the document prologue
.Bl -ohang