]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - scripts/qapi/doc.py
qapi: Fix doc comment checking for commands and events
[thirdparty/qemu.git] / scripts / qapi / doc.py
index c8c4bda153ada52ee38723f542d60cb9be27551b..6f1c17f71f7b8ddd5ad59bba10972d0d5283404e 100644 (file)
@@ -185,6 +185,7 @@ def texi_members(doc, what, base=None, variants=None,
 
 def texi_arguments(doc, boxed_arg_type):
     if boxed_arg_type:
+        assert not doc.args
         return ('\n@b{Arguments:} the members of @code{%s}\n'
                 % boxed_arg_type.name)
     return texi_members(doc, 'Arguments')