qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 07/29] qapi/block-core.json: Use literal block for ascii art


From: Peter Maydell
Subject: [PATCH 07/29] qapi/block-core.json: Use literal block for ascii art
Date: Thu, 6 Feb 2020 17:30:18 +0000

The ascii-art graph in the BlockLatencyHistogramInfo
documentation doesn't render correctly in either the HTML
or the manpage output, because in both cases the whitespace
is collapsed.

Use the '|' format that emits a literal 'example' block
so the graph is displayed correctly.

Signed-off-by: Peter Maydell <address@hidden>
---
 qapi/block-core.json | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/qapi/block-core.json b/qapi/block-core.json
index ef94a296868..372f35ee5f0 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -550,13 +550,13 @@
 #        For the example above, @bins may be something like [3, 1, 5, 2],
 #        and corresponding histogram looks like:
 #
-#        5|           *
-#        4|           *
-#        3| *         *
-#        2| *         *    *
-#        1| *    *    *    *
-#         +------------------
-#             10   50   100
+# |       5|           *
+# |       4|           *
+# |       3| *         *
+# |       2| *         *    *
+# |       1| *    *    *    *
+# |        +------------------
+# |            10   50   100
 #
 # Since: 4.0
 ##
-- 
2.20.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]