aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-08-19 22:00:05 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-08-19 22:00:05 +0000
commit021b9d74e81ddc98fc7f538c8ebcfefd8c3a7ece (patch)
treef94d37cafe8b57466cd1cb529d7ff6d7465bf027 /mandoc.1
parentbe4630737438b7afb403ff72aa126aed00c18ac9 (diff)
downloadmandoc-021b9d74e81ddc98fc7f538c8ebcfefd8c3a7ece.tar.gz
mandoc-021b9d74e81ddc98fc7f538c8ebcfefd8c3a7ece.tar.zst
mandoc-021b9d74e81ddc98fc7f538c8ebcfefd8c3a7ece.zip
document -O mdoc; triggered by a question from jmc@ and OK jmc@
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.118
1 files changed, 16 insertions, 2 deletions
diff --git a/mandoc.1 b/mandoc.1
index 1db4d325..96904c4b 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.217 2017/07/20 15:26:41 schwarze Exp $
+.\" $Id: mandoc.1,v 1.218 2017/08/19 22:00:05 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: July 20 2017 $
+.Dd $Mdocdate: August 19 2017 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -315,6 +315,20 @@ and seven for
.Xr man 7 .
Increasing this is not recommended; it may result in degraded formatting,
for example overfull lines or ugly line breaks.
+.It Cm mdoc
+Format
+.Xr man 7
+input files in
+.Xr mdoc 7
+output style.
+Specifically, this suppresses the two additional blank lines near the
+top and the bottom of each page, and it implies
+.Fl O Cm indent Ns =5 .
+One useful application is for checking that
+.Fl T Cm man
+output formats in the same way as the
+.Xr mdoc 7
+source it was generated from.
.It Cm width Ns = Ns Ar width
The output width is set to
.Ar width .