mirror of
https://github.com/xemu-project/xemu.git
synced 2025-03-04 18:50:21 +00:00
qapi2texi: Fix to actually fail when 'doc-required' is false
Messed up in commit bc52d03. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <1490015515-25851-3-git-send-email-armbru@redhat.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
4afeeb57a1
commit
e8ba07ea9a
@ -292,6 +292,7 @@ def main(argv):
|
||||
if not qapi.doc_required:
|
||||
print >>sys.stderr, ("%s: need pragma 'doc-required' "
|
||||
"to generate documentation" % argv[0])
|
||||
sys.exit(1)
|
||||
print texi_schema(schema)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user