aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2000-11-18 17:34:55 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2000-11-18 17:34:55 +0000
commitaaf0d9a64c2817c439b8c36b59f614e22b3f3700 (patch)
treeaf2f2568f8bf22cce2819153930c93e1275ff37e /contrib
parentacd99ff192743a67d2954611dbec46e7387ccdcd (diff)
downloadsrc-aaf0d9a64c2817c439b8c36b59f614e22b3f3700.tar.gz
src-aaf0d9a64c2817c439b8c36b59f614e22b3f3700.zip
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
Notes
Notes: svn path=/head/; revision=68879
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 346eb40a87ad..f56b30019766 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
. \}
. \}