diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-04-01 19:47:33 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-04-01 19:47:33 +0000 |
commit | 76796e1913c95c7d45a7c463dc683d484819474f (patch) | |
tree | 706e32213e1acd9dce9c746b890a326dcf4d84c7 | |
parent | 259a140ad2b7e8697c1dc7de7e53c2353fedc8c7 (diff) | |
download | mandoc-76796e1913c95c7d45a7c463dc683d484819474f.tar.gz mandoc-76796e1913c95c7d45a7c463dc683d484819474f.tar.zst mandoc-76796e1913c95c7d45a7c463dc683d484819474f.zip |
Properly quote arguments in `Fn' documentation. Also make standalone
'...' have a properly-escaped initial dot.
-rw-r--r-- | mdoc.7 | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.182 2011/03/17 14:50:14 kristaps Exp $ +.\" $Id: mdoc.7,v 1.183 2011/04/01 19:47:33 kristaps Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: March 17 2011 $ +.Dd $Mdocdate: April 1 2011 $ .Dt MDOC 7 .Os .Sh NAME @@ -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 |