qapi: Reject "Returns" section when command doesn't return anything

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240227113921.236097-14-armbru@redhat.com>
This commit is contained in:
Markus Armbruster 2024-02-27 12:39:21 +01:00
parent ab07e96c46
commit e1f684ea2e
5 changed files with 15 additions and 1 deletions

View file

@ -0,0 +1,7 @@
# Command doesn't return anything
##
# @foo:
# Returns: blah
##
{ 'command': 'foo' }