summaryrefslogtreecommitdiffstats
path: root/roff.7
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-04-05 20:34:57 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-04-05 20:34:57 +0000
commita6e0e907b41152b48f9766f3cfd1adfdfa28963c (patch)
tree7d03fd452e1839de32f2fa511b81fd60cdee4c43 /roff.7
parent76f8a389bc9591897fd727d6aff216d42cc17798 (diff)
downloadmandoc-a6e0e907b41152b48f9766f3cfd1adfdfa28963c.tar.gz
Implement the roff(7) .rr (remove register) request.
As reported by sthen@, the perl-5.18 pod2man(1) preamble thinks cool kids use that in manuals. I hope *you* know better.
Diffstat (limited to 'roff.7')
-rw-r--r--roff.716
1 files changed, 10 insertions, 6 deletions
diff --git a/roff.7 b/roff.7
index d9e0b999..5009c8d0 100644
--- a/roff.7
+++ b/roff.7
@@ -898,12 +898,6 @@ This line-scoped request is currently ignored.
.Ss \&nh
Turn off automatic hyphenation mode.
This line-scoped request is currently ignored.
-.Ss \&rm
-Remove a request, macro or string.
-This request is intended to have one argument,
-the name of the request, macro or string to be undefined.
-Currently, it is ignored including its arguments,
-and the number of arguments is not checked.
.Ss \&nr
Define or change a register.
A register is an arbitrary string value that defines some sort of state,
@@ -949,6 +943,16 @@ Change point size.
This line-scoped request is intended to take one numerical argument.
Currently, it is ignored including its arguments,
and the number of arguments is not checked.
+.Ss \&rm
+Remove a request, macro or string.
+Its syntax is as follows:
+.Pp
+.D1 Pf \. Cm \&rm Ar name
+.Ss \&rr
+Remove a register.
+Its syntax is as follows:
+.Pp
+.D1 Pf \. Cm \&rr Ar name
.Ss \&so
Include a source file.
Its syntax is as follows: