mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-27 12:23:53 -06: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue