summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-11-18 17:34:55 +0000
committerru <ru@FreeBSD.org>2000-11-18 17:34:55 +0000
commit2a8ac69f5355c9b3b2d2c37854e83d4ee34059e7 (patch)
tree06268f78320bc1c6afa8092dbe535e2bdf9da4fc /contrib
parentc9e9d264306dadf5bc53d2a081b5ea7bd4c23011 (diff)
downloadFreeBSD-src-2a8ac69f5355c9b3b2d2c37854e83d4ee34059e7.zip
FreeBSD-src-2a8ac69f5355c9b3b2d2c37854e83d4ee34059e7.tar.gz
While in the SYNOPSIS section, Nm macro always required an
argument to setup indentation for the rest of the synopsis line and to automatically emit a line break for a non-first synopsis line. It does not require it anymore. The following now works as expected: .Sh NAME .Nm utility .Sh SYNOPSIS .Nm .Cm start .Nm .Cm stop
Diffstat (limited to 'contrib')
-rw-r--r--contrib/groff/tmac/tmac.doc10
1 files changed, 4 insertions, 6 deletions
diff --git a/contrib/groff/tmac/tmac.doc b/contrib/groff/tmac/tmac.doc
index 346eb40..f56b300 100644
--- a/contrib/groff/tmac/tmac.doc
+++ b/contrib/groff/tmac/tmac.doc
@@ -752,14 +752,12 @@
.\" NS iS register - indent second command line in a synopsis
.de Nm
.if \\n(aC==0 \{\
+. ds mN Nm
. ie \\n(.$==0 \{\
. ie "\\*(n1"" .tm Usage: .Nm Name(s) ... \\*(Pu (#\\n(.c)
-. el \&\\*(nM\\*(n1\fP\s0
+. el .aV \\*(n1
. \}
-. el \{\
-. ds mN Nm
-. aV \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
-. \}
+. el .aV \\$1 \\$2 \\$3 \\$4 \\$5 \\$6 \\$7 \\$8 \\$9
.\}
.if \\n(aC>0 \{\
. ie \\n(aC==\\n(aP \{\
@@ -782,7 +780,7 @@
. ie \\n(nS>1 .br
. el \{\
. if \\n(iS==0 \{\
-. sW \\$1
+. sW \\*(A\\n(aP
. nr iS ((\\n(sWu+1)*\\n(fW)u
. \}
. \}
OpenPOWER on IntegriCloud