OSDN Git Service

qmp: fix typo in input-send-event examples
authorAmos Kong <akong@redhat.com>
Tue, 25 Nov 2014 08:05:56 +0000 (16:05 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 10 Dec 2014 08:14:44 +0000 (11:14 +0300)
Lack of two closed bracket in json commands.

Signed-off-by: Amos Kong <akong@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
qmp-commands.hx

index 718dd92..47bcf87 100644 (file)
@@ -3820,13 +3820,13 @@ Press left mouse button.
 -> { "execute": "x-input-send-event",
     "arguments": { "console": 0,
                    "events": [ { "type": "btn",
-                    "data" : { "down": true, "button": "Left" } } } }
+                    "data" : { "down": true, "button": "Left" } } } }
 <- { "return": {} }
 
 -> { "execute": "x-input-send-event",
     "arguments": { "console": 0,
                    "events": [ { "type": "btn",
-                    "data" : { "down": false, "button": "Left" } } } }
+                    "data" : { "down": false, "button": "Left" } } } }
 <- { "return": {} }
 
 Example (2):