summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2020-08-27 14:28:11 +0000
committerIngo Schwarze <schwarze@openbsd.org>2020-08-27 14:28:11 +0000
commit6d938d5fd92ef89159c86ac4fe36f376aa5802f9 (patch)
tree7f3598d48d35955382434ed408c1c9f561bcdcf3 /mandoc.1
parent817c9ebe02e8e98d07a0081313a87c1996ef3246 (diff)
downloadmandoc-6d938d5fd92ef89159c86ac4fe36f376aa5802f9.tar.gz
Make it more explicit that the statement "-O tag does not work with less(1)"
only applies to -T html output mode, and why. Of course, -O tag works just fine with less(1) in the -T ascii and -T utf8 output modes. Potential for confusion pointed out by Ian Ropers.
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.19
1 files changed, 8 insertions, 1 deletions
diff --git a/mandoc.1 b/mandoc.1
index cc365e26..035bea3c 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -423,10 +423,17 @@ MANPAGER='lynx -force_html' man -T html -O tag=MANPAGER man
MANPAGER='w3m -T text/html' man -T html -O tag=toc mandoc
.Ed
.Pp
-This argument does not work with
+Consequently, for HTML output, this argument does not work with
.Xr more 1
or
.Xr less 1 .
+For example,
+.Ql MANPAGER=less man -T html -O tag=toc mandoc
+does not work because
+.Xr less 1
+does not support
+.Ic file://
+URIs.
.It Cm toc
If an input file contains at least two non-standard sections,
print a table of contents near the beginning of the output.