aboutsummaryrefslogtreecommitdiff
path: root/man/man8/getflags.8
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2020-08-13 23:41:59 -0400
committerRuss Cox <rsc@swtch.com>2020-08-13 23:43:43 -0400
commit977b25a76ae8263e53fb4eb1abfc395769f23e3d (patch)
treeb04cc1be9205fd85f588e9434642e8aed8a8a4fd /man/man8/getflags.8
parenta1c4307800c7f1ef9c5d71ba4c6c3642837e2877 (diff)
downloadplan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.tar.gz
plan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.tar.bz2
plan9port-977b25a76ae8263e53fb4eb1abfc395769f23e3d.zip
tmac: introduce real manual reference macro instead of overloading IR
The overloading of IR emits magic \X'...' sequences that turn into HTML manual links. But not all such IR invocations should be manual links; those had to be written to avoid the IR macro before. Worse, the \X'...' ending the IR causes troff to emit only a single space after a period. Defining a new IM macro for manual references fixes both problems. Fixes #441.
Diffstat (limited to 'man/man8/getflags.8')
-rw-r--r--man/man8/getflags.810
1 files changed, 5 insertions, 5 deletions
diff --git a/man/man8/getflags.8 b/man/man8/getflags.8
index 86c295b9..02c774f5 100644
--- a/man/man8/getflags.8
+++ b/man/man8/getflags.8
@@ -16,7 +16,7 @@ not take arguments, or a letter followed by the space-separated
names of its arguments.
.I Getflags
prints an
-.IR rc (1)
+.IM rc (1)
script on standard output which initializes the
environment variable
.BI $flag x
@@ -51,15 +51,15 @@ and
.BR $0 ,
the program name
(see
-.IR rc (1)).
+.IM rc (1) ).
If run under
-.IR sh (1),
+.IM sh (1) ,
which does not set
.BR $0 ,
the program name must be given explicitly on the command line.
.SH EXAMPLE
Parse the arguments for Plan 9's
-.IR leak (1):
+.IM leak (1) :
.IP
.EX
flagfmt='b,s,f binary,r res,x width'
@@ -74,4 +74,4 @@ if(! ifs=() eval `{getflags $*} || ~ $#* 0){
.br
.B \*9/src/cmd/usage.c
.SH SEE ALSO
-.IR arg (3)
+.IM arg (3)