summaryrefslogtreecommitdiffstats
path: root/mdoc.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-04-01 19:47:33 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-04-01 19:47:33 +0000
commit90710486cc57b36313d0f7dc3493177c0703b4b9 (patch)
tree68e093c179c8df2aa7d6ff6dbe63eef61fafdeb0 /mdoc.7
parentf0962178f803a13106e8714b7d1b1940e38083d5 (diff)
downloadmandoc-90710486cc57b36313d0f7dc3493177c0703b4b9.tar.gz
Properly quote arguments in `Fn' documentation. Also make standalone
'...' have a properly-escaped initial dot.
Diffstat (limited to 'mdoc.7')
-rw-r--r--mdoc.76
1 files changed, 3 insertions, 3 deletions
diff --git a/mdoc.7 b/mdoc.7
index f5dac459..a6a34142 100644
--- a/mdoc.7
+++ b/mdoc.7
@@ -1861,8 +1861,8 @@ are delimited by commas.
If no arguments are specified, blank parenthesis are output.
.Pp
Examples:
-.Dl \&.Fn "int funcname" "int arg0" "int arg1"
-.Dl \&.Fn funcname "int arg0"
+.Dl \&.Fn \*qint funcname\*q \*qint arg0\*q \*qint arg1\*q
+.Dl \&.Fn funcname \*qint arg0\*q
.Dl \&.Fn funcname arg0
.Bd -literal -offset indent -compact
\&.Ft functype
@@ -1892,7 +1892,7 @@ Invocations usually occur in the following context:
.br
.Pf \. Sx \&Fa Oo Cm argtype Oc Cm argname
.br
-\.\.\.
+\&.\.\.
.br
.Pf \. Sx \&Fc
.Ed