summaryrefslogtreecommitdiffstats
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2021-08-14 13:53:08 +0000
committerIngo Schwarze <schwarze@openbsd.org>2021-08-14 13:53:08 +0000
commit510f116a58364ccf5c3399f053bfacc9d675025c (patch)
tree0d9aefc6d4265e2b1a4fef09c3242998a0a002fc /mandoc.1
parenteaf84848c463416967ecacc10a55630fcf7f115c (diff)
downloadmandoc-510f116a58364ccf5c3399f053bfacc9d675025c.tar.gz
print a BAGARG message if -T markdown is requested on man(7) input;
suggested by Michael Stapelberg at debian dot org
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.18
1 files changed, 8 insertions, 0 deletions
diff --git a/mandoc.1 b/mandoc.1
index 00d898eb..05026a61 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -2371,6 +2371,14 @@ The
.Fl O Cm tag
option was specified but the tag was not found in any of the displayed
manual pages.
+.It Sy "\-Tmarkdown unsupported for man(7) input"
+.Pq man
+The
+.Fl T Cm markdown
+option was specified but an input file uses the
+.Xr man 7
+language.
+No output is produced for that input file.
.El
.Sh SEE ALSO
.Xr apropos 1 ,