docs/devel/writing-qmp-commands.txt: Fix docs
authorZihao Chang <changzihao1@huawei.com>
Tue, 1 Dec 2020 14:33:08 +0000 (22:33 +0800)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 10 Dec 2020 16:16:44 +0000 (17:16 +0100)
Fix the example of add qmp hello-world example.
Without ":", make will report error:
../qapi/misc.json:573:2: line should end with ':'

Signed-off-by: Zihao Chang <changzihao1@huawei.com>
Message-Id: <20201201143308.1626-1-changzihao1@huawei.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
docs/devel/writing-qmp-commands.txt

index 46a6c48683f5526cda924f60f2310451a6dee3c1..28984686c970867a2c82f74311fbe426b1f5c9eb 100644 (file)
@@ -243,7 +243,7 @@ There are many examples of such documentation in the schema file already, but
 here goes "hello-world"'s new entry for qapi/misc.json:
 
 ##
-# @hello-world
+# @hello-world:
 #
 # Print a client provided string to the standard output stream.
 #