diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-11-13 13:05:24 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2011-11-13 13:05:24 +0000 |
commit | 9a96128800ce0a7bcaafbc5ab806c729a27dfa4b (patch) | |
tree | a5d0312b7a9bd2d6258ae1fa34c839e268829ed3 /usr.bin/mandoc/mandoc.1 | |
parent | abdd351d168fdba9684e1574a2fc6a3c3d138cd7 (diff) |
Make the default left text margin configurable from the command line,
just like the default right margin already is. This may be useful for
people with expensive screen real estate. Besides, it helps automated
man(7) to mdoc(7) output comparisons to validate -Tman output.
ok kristaps@ on an earlier version
Diffstat (limited to 'usr.bin/mandoc/mandoc.1')
-rw-r--r-- | usr.bin/mandoc/mandoc.1 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mandoc.1 b/usr.bin/mandoc/mandoc.1 index 46ea4a8932f..ab696a8d909 100644 --- a/usr.bin/mandoc/mandoc.1 +++ b/usr.bin/mandoc/mandoc.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mandoc.1,v 1.50 2011/10/09 21:37:04 schwarze Exp $ +.\" $OpenBSD: mandoc.1,v 1.51 2011/11/13 13:05:23 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> .\" @@ -14,7 +14,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: October 9 2011 $ +.Dd $Mdocdate: November 13 2011 $ .Dt MANDOC 1 .Os .Sh NAME @@ -234,6 +234,15 @@ The following .Fl O arguments are accepted: .Bl -tag -width Ds +.It Cm indent Ns = Ns Ar indent +The left margin for normal text is set to +.Ar indent +blank characters instead of the default of five for +.Xr mdoc 7 +and seven for +.Xr man 7 . +Increasing this is not recommended; it may result in degraded formatting, +for example overful lines or ugly line breaks. .It Cm width Ns = Ns Ar width The output width is set to .Ar width , |