diff options
author | 2014-09-12 00:54:10 +0000 | |
---|---|---|
committer | 2014-09-12 00:54:10 +0000 | |
commit | 2a37145b398147deef315887314495f6a9b9637e (patch) | |
tree | ff7fcdf2b5c19ef36f85285e6f85d76319c4c9f8 /mandoc.1 | |
parent | e87764af026befe56bf121a50708564d413fa82c (diff) | |
download | mandoc-2a37145b398147deef315887314495f6a9b9637e.tar.gz mandoc-2a37145b398147deef315887314495f6a9b9637e.tar.zst mandoc-2a37145b398147deef315887314495f6a9b9637e.zip |
warn about commas in function arguments; inspired by mdoclint(1)
Diffstat (limited to 'mandoc.1')
-rw-r--r-- | mandoc.1 | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ -.\" $Id: mandoc.1,v 1.112 2014/09/12 00:10:26 schwarze Exp $ +.\" $Id: mandoc.1,v 1.113 2014/09/12 00:54:10 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2012, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -1118,6 +1118,13 @@ macro has an invalid argument. It is used verbatim, with .Qq "AT&T UNIX " prefixed to it. +.It Sy "comma in function argument" +.Pq mdoc +An argument of an +.Ic \&Fa +or +.Ic \&Fn +macro contains a comma; it should probably be split into two arguments. .It Sy "invalid content in Rs block" .Pq mdoc An |