From f63326985a23cc1bb6327a003050e6fdb52eb9cd Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 27 Sep 2019 15:46:37 +0200 Subject: qapi: Improve reporting of missing documentation comment Have check_exprs() check this later, so the error message gains an "in definition line". Tweak the error message. Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake Message-Id: <20190927134639.4284-25-armbru@redhat.com> --- tests/qapi-schema/doc-missing.err | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/qapi-schema/doc-missing.err') diff --git a/tests/qapi-schema/doc-missing.err b/tests/qapi-schema/doc-missing.err index 08c827931a..7fbf54ff65 100644 --- a/tests/qapi-schema/doc-missing.err +++ b/tests/qapi-schema/doc-missing.err @@ -1 +1,2 @@ -tests/qapi-schema/doc-missing.json:5: definition missing documentation comment +tests/qapi-schema/doc-missing.json: In command 'undocumented': +tests/qapi-schema/doc-missing.json:5: documentation comment required -- cgit v1.2.3