qapi2texi: Fix to actually fail when 'doc-required' is false

Messed up in commit bc52d03.

Signed-off-by: Markus Armbruster <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Marc-André Lureau <[email protected]>
This commit is contained in:
Markus Armbruster committed 2017-03-21 10:42:27 +01:00
1 parent 4afeeb57a1
commit e8ba07ea9a
1 file changed
+1
+1
View File
@@ -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)