From e7b68c6d2c0067916b7389ffc4ae72b567852c95 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 14 Aug 2021 13:53:08 +0000 Subject: print a BAGARG message if -T markdown is requested on man(7) input; suggested by Michael Stapelberg at debian dot org --- mandoc.1 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'mandoc.1') diff --git a/mandoc.1 b/mandoc.1 index 669cf9fb..f7490963 100644 --- a/mandoc.1 +++ b/mandoc.1 @@ -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 4 2021 $ +.Dd $Mdocdate: August 14 2021 $ .Dt MANDOC 1 .Os .Sh NAME @@ -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 , -- cgit v1.2.3-56-ge451