summaryrefslogtreecommitdiffstats
path: root/contrib/groff/tmac
diff options
context:
space:
mode:
authorphantom <phantom@FreeBSD.org>1999-09-22 22:36:16 +0000
committerphantom <phantom@FreeBSD.org>1999-09-22 22:36:16 +0000
commit8559cd013455e2ae00c773858096eb6ab4556d1d (patch)
tree4506f3093d788bc0b1ab16d8747ec6f8144edbc7 /contrib/groff/tmac
parentefe68309f154f66c4d1dd5080aef88b5c4a7367c (diff)
downloadFreeBSD-src-8559cd013455e2ae00c773858096eb6ab4556d1d.zip
FreeBSD-src-8559cd013455e2ae00c773858096eb6ab4556d1d.tar.gz
Allow .Rv macro to be used in 7th section also. This patch
will fix "Usage: .Rv ..." error at mdoc.samples.7 Ok'ed by: mpp
Diffstat (limited to 'contrib/groff/tmac')
-rw-r--r--contrib/groff/tmac/tmac.doc4
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/groff/tmac/tmac.doc b/contrib/groff/tmac/tmac.doc
index c82dd23..1cd6904 100644
--- a/contrib/groff/tmac/tmac.doc
+++ b/contrib/groff/tmac/tmac.doc
@@ -3422,7 +3422,9 @@ File:
.\" . nr fV \\n(.$-1
. if "\\$1"-std" \{\
. nr cH \\*(cH
-. if (\\n(cH<2):(\\n(cH>3) .tm Usage: .Rv -std sections 2 and 3 only
+.\" This macro also allowed for 7 section because mdoc.samples.7 will show
+.\" actual information (not hardcoded)
+. if !((\\n(cH=2):(\\n(cH=3):(\\n(cH=7)) .tm Usage: .Rv -std sections 2 and 3 only
. br
\&The
.Fn \\$2
OpenPOWER on IntegriCloud