aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-05-30 19:30:38 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-05-30 19:30:38 +0000
commit8687750851942a001cbab4731e0e305506af0344 (patch)
tree848a22ba6073e9d7aa1bf263007f6d464c623f8f /mandoc.1
parentb85deb01cef03da6ed5386c5a24881bbba2216b2 (diff)
downloadmandoc-8687750851942a001cbab4731e0e305506af0344.tar.gz
mandoc-8687750851942a001cbab4731e0e305506af0344.tar.zst
mandoc-8687750851942a001cbab4731e0e305506af0344.zip
STYLE message about useless macros we don't want (Bt Tn Ud);
not a WARNING because they don't endanger portability
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.116
1 files changed, 14 insertions, 2 deletions
diff --git a/mandoc.1 b/mandoc.1
index dfe3bf09..95b36ff0 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.188 2017/05/17 23:39:31 schwarze Exp $
+.\" $Id: mandoc.1,v 1.189 2017/05/30 19:30:38 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 17 2017 $
+.Dd $Mdocdate: May 30 2017 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -742,6 +742,18 @@ are hidden unless their level, or a lower level, is requested using a
option or
.Fl T Cm lint
output mode.
+.Ss Style messages
+.Bl -ohang
+.It Sy "useless macro"
+.Pq mdoc
+A
+.Ic \&Bt ,
+.Ic \&Tn ,
+or
+.Ic \Ud
+macro was found.
+Simply delete it, it serves no useful purpose.
+.El
.Ss Warnings related to the document prologue
.Bl -ohang
.It Sy "missing manual title, using UNTITLED"