From 2a37145b398147deef315887314495f6a9b9637e Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 12 Sep 2014 00:54:10 +0000 Subject: warn about commas in function arguments; inspired by mdoclint(1) --- mandoc.1 | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'mandoc.1') diff --git a/mandoc.1 b/mandoc.1 index 2c5dccbc..966c97e7 100644 --- a/mandoc.1 +++ b/mandoc.1 @@ -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 .\" Copyright (c) 2012, 2014 Ingo Schwarze @@ -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 -- cgit v1.2.3-56-ge451