projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4afeeb5
)
qapi2texi: Fix to actually fail when 'doc-required' is false
author
Markus Armbruster
<armbru@redhat.com>
Mon, 20 Mar 2017 13:11:51 +0000
(14:11 +0100)
committer
Markus Armbruster
<armbru@redhat.com>
Tue, 21 Mar 2017 09:42:27 +0000
(10:42 +0100)
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>
scripts/qapi2texi.py
patch
|
blob
|
history
diff --git
a/scripts/qapi2texi.py
b/scripts/qapi2texi.py
index 8eed11a60c6ef33808c2c0e871d25c5c693b081c..5c4db785749957055897dd744216bc41c75520e6 100755
(executable)
--- a/
scripts/qapi2texi.py
+++ b/
scripts/qapi2texi.py
@@
-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)