diff mbox

qapi: fix documentation example

Message ID 1382201553-6561-1-git-send-email-eblake@redhat.com
State New
Headers show

Commit Message

Eric Blake Oct. 19, 2013, 4:52 p.m. UTC
The QMP wire format uses "", not '', around strings.

* docs/qapi-code-gen.txt: Fix typo.

Signed-off-by: Eric Blake <eblake@redhat.com>
---
 docs/qapi-code-gen.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Tokarev Oct. 21, 2013, 8:43 a.m. UTC | #1
19.10.2013 20:52, Eric Blake wrote:
> The QMP wire format uses "", not '', around strings.
>
> * docs/qapi-code-gen.txt: Fix typo.

Thanks, applied to the trivial patches queue.

/mjt
diff mbox

Patch

diff --git a/docs/qapi-code-gen.txt b/docs/qapi-code-gen.txt
index 91f44d0..0728f36 100644
--- a/docs/qapi-code-gen.txt
+++ b/docs/qapi-code-gen.txt
@@ -164,7 +164,7 @@  This example allows using both of the following example objects:
  { "file": "my_existing_block_device_id" }
  { "file": { "driver": "file",
              "readonly": false,
-             'filename': "/tmp/mydisk.qcow2" } }
+             "filename": "/tmp/mydisk.qcow2" } }


 === Commands ===