Signed-off-by: John Snow <js...@redhat.com> --- scripts/qapi/doc.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/scripts/qapi/doc.py b/scripts/qapi/doc.py index 70f7cdfaa6..4743beb89a 100644 --- a/scripts/qapi/doc.py +++ b/scripts/qapi/doc.py @@ -267,15 +267,13 @@ def visit_command(self, name, info, ifcond, features, arg_type, ret_type, gen, success_response, boxed, allow_oob, allow_preconfig): doc = self.cur_doc - self._gen.add(texi_msg('Command', doc, ifcond, - texi_arguments(doc, - arg_type if boxed else None))) + members = texi_arguments(doc, arg_type if boxed else None) + self._gen.add(texi_msg('Command', doc, ifcond, members)) def visit_event(self, name, info, ifcond, features, arg_type, boxed): doc = self.cur_doc - self._gen.add(texi_msg('Event', doc, ifcond, - texi_arguments(doc, - arg_type if boxed else None))) + members = texi_arguments(doc, arg_type if boxed else None) + self._gen.add(texi_msg('Event', doc, ifcond, members)) def symbol(self, doc, entity): if self._gen._body: -- 2.26.2