aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-05-31 15:31:00 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-05-31 15:31:00 +0000
commitad7197291eca5fd8e810a5cebb0f9c81a323c637 (patch)
tree34c889a1b211fb96d7bd09378c4133e42210cb2f /mandoc.1
parent063eee07257a67309a02f330e406d49c412e95d7 (diff)
downloadmandoc-ad7197291eca5fd8e810a5cebb0f9c81a323c637.tar.gz
mandoc-ad7197291eca5fd8e810a5cebb0f9c81a323c637.tar.zst
mandoc-ad7197291eca5fd8e810a5cebb0f9c81a323c637.zip
STYLE message about missing use of Ox/Nx/Fx/Dx; OK jmc@ wiz@
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.114
1 files changed, 12 insertions, 2 deletions
diff --git a/mandoc.1 b/mandoc.1
index 74c62986..6ec18a96 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.190 2017/05/30 20:25:32 schwarze Exp $
+.\" $Id: mandoc.1,v 1.191 2017/05/31 15:31:00 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 30 2017 $
+.Dd $Mdocdate: May 31 2017 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -753,6 +753,16 @@ or
.Ic \&Ud
macro was found.
Simply delete it: it serves no useful purpose.
+.It Sy "consider using OS macro"
+.Pq mdoc
+A string was found in plain text or in a
+.Ic \&Bx
+macro that could be represented using
+.Ic \&Ox ,
+.Ic \&Nx ,
+.Ic \&Fx ,
+or
+.Ic \&Dx .
.El
.Ss Warnings related to the document prologue
.Bl -ohang