aboutsummaryrefslogtreecommitdiff
path: root/tests/qapi-schema/doc-good.out
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2018-12-13 16:37:20 +0400
committerMarkus Armbruster <armbru@redhat.com>2018-12-14 06:52:48 +0100
commita35c9bf82aff4e80a90f0adfc7383d03749db0b6 (patch)
tree8a27cdb33977b141cf15c1ca6ba6dd3c2a9b4876 /tests/qapi-schema/doc-good.out
parent8ee06f61e13701a54a9f76ceadafc856d279cdb6 (diff)
qapi: add 'If:' condition to enum values documentation
Use a common function to generate the "If:..." line. While at it, get rid of the existing \n\n (no idea why it was there). Use a line-break in member description, this seems to look slightly better in the plaintext version. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20181213123724.4866-19-marcandre.lureau@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'tests/qapi-schema/doc-good.out')
-rw-r--r--tests/qapi-schema/doc-good.out1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qapi-schema/doc-good.out b/tests/qapi-schema/doc-good.out
index c2fc5c774a..53bd177f7d 100644
--- a/tests/qapi-schema/doc-good.out
+++ b/tests/qapi-schema/doc-good.out
@@ -11,6 +11,7 @@ enum QType
module doc-good.json
enum Enum
member one
+ if ['defined(IFONE)']
member two
if ['defined(IFCOND)']
object Base