diff options
Diffstat (limited to 'man_validate.c')
-rw-r--r-- | man_validate.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/man_validate.c b/man_validate.c index 72d8d023..fd9c4fc8 100644 --- a/man_validate.c +++ b/man_validate.c @@ -363,7 +363,11 @@ check_par(CHKARGS) break; case MAN_HEAD: if (n->nchild) - man_nmsg(man, n, MANDOCERR_ARGSLOST); + mandoc_vmsg(MANDOCERR_ARG_SKIP, + man->parse, n->line, n->pos, + "%s %s%s", man_macronames[n->tok], + n->child->string, + n->nchild > 1 ? " ..." : ""); break; default: break; |