diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-11 21:14:16 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-10-11 21:14:16 +0000 |
commit | 0ff863842ee7d3511d2cc8fbf907f6cf10b5b12b (patch) | |
tree | a3c52e364412dc4643bbcabdd5ae42b53ee8e37f /mandoc.1 | |
parent | 03f1aa70af05538acf06ea6c12e41402f4afd2d1 (diff) | |
download | mandoc-0ff863842ee7d3511d2cc8fbf907f6cf10b5b12b.tar.gz |
warn about parentheses in function names after .Fn and .Fo;
particularly useful when converting from other languages to mdoc(7);
feature suggested by bentley@
Diffstat (limited to 'mandoc.1')
-rw-r--r-- | mandoc.1 | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1120,6 +1120,14 @@ An argument of an or .Ic \&Fn macro contains a comma; it should probably be split into two arguments. +.It Sy "parenthesis in function name" +.Pq mdoc +The first argument of an +.Ic \&Fc +or +.Ic \&Fn +macro contains an opening or closing parenthesis; that's probably wrong, +parentheses are added automatically. .It Sy "invalid content in Rs block" .Pq mdoc An |