aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-02-06 03:38:45 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-02-06 03:38:45 +0000
commit7dfe6b3fdffd0ff76af3e3d347b0f300fddb15e8 (patch)
treec8da2ede0eced598b1c3160a92a64f654f8225ca /mandoc.1
parent21214100bde85df055d67a3ab4b9c51b8a2dd7fb (diff)
downloadmandoc-7dfe6b3fdffd0ff76af3e3d347b0f300fddb15e8.tar.gz
mandoc-7dfe6b3fdffd0ff76af3e3d347b0f300fddb15e8.tar.zst
mandoc-7dfe6b3fdffd0ff76af3e3d347b0f300fddb15e8.zip
better handle .Fo and .Fd without argument
better handle .Fo with more than one argument
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.112
1 files changed, 10 insertions, 2 deletions
diff --git a/mandoc.1 b/mandoc.1
index 2a542d9f..3e2a2d06 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.145 2015/02/04 22:30:10 schwarze Exp $
+.\" $Id: mandoc.1,v 1.146 2015/02/06 03:38:45 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2012, 2014, 2015 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: February 4 2015 $
+.Dd $Mdocdate: February 6 2015 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -1042,6 +1042,12 @@ The
macro is called without an argument before
.Ic \&Nm
has first been called with an argument.
+.It Sy "missing function name, using \(dq\(dq"
+.Pq mdoc
+The
+.Ic \&Fo
+macro is called without an argument.
+No function name is printed.
.It Sy "empty head in list item"
.Pq mdoc
In a
@@ -1637,6 +1643,8 @@ macro is invoked with another argument after
.Fl split
or
.Fl nosplit ,
+.Ic \&Fo
+is invoked with more than one argument,
.Ic \&Bd ,
.Ic \&Bk ,
or