summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-11-13 13:15:14 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-11-13 13:15:14 +0000
commitb39d10f13dbeceaf64ab4f7e257aa3de6e3a1478 (patch)
tree0829da7bc58e53127b9df046d4d0af4a80fddee3 /mandoc.1
parente1e948c76eb5817bac9e6e4dbbc30fe62e010f62 (diff)
downloadmandoc-b39d10f13dbeceaf64ab4f7e257aa3de6e3a1478.tar.gz
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 'mandoc.1')
-rw-r--r--mandoc.19
1 files changed, 9 insertions, 0 deletions
diff --git a/mandoc.1 b/mandoc.1
index a7354e6d..4cdc6457 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -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 ,