From ad7197291eca5fd8e810a5cebb0f9c81a323c637 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 31 May 2017 15:31:00 +0000 Subject: STYLE message about missing use of Ox/Nx/Fx/Dx; OK jmc@ wiz@ --- mandoc.1 | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'mandoc.1') 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 .\" Copyright (c) 2012, 2014-2017 Ingo Schwarze @@ -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 -- cgit v1.2.3-56-ge451