Skip to contentSkip to conversation

qmp: fix typo in input-send-event examples

PATCH Applied Amos Kong 3 participants 3 messages Nov 25, 2014

lore
Share & tools
lore

Amos Kong

author
#0 lore raw

PATCH 1/1 qmp: fix typo in input-send-event examples

Lack of two closed bracket in json commands.

---
 qmp-commands.hx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
qmp-commands.hx +2 -2
index 8812401..bb2e380 100644
@@ -3818,13 +3818,13 @@ Press left mouse button.
 -> { "execute": "input-send-event",
     "arguments": { "console": 0,
                    "events": [ { "type": "btn",
-                    "data" : { "down": true, "button": "Left" } } } }
+                    "data" : { "down": true, "button": "Left" } } ] } }
 <- { "return": {} }
 
 -> { "execute": "input-send-event",
     "arguments": { "console": 0,
                    "events": [ { "type": "btn",
-                    "data" : { "down": false, "button": "Left" } } } }
+                    "data" : { "down": false, "button": "Left" } } ] } }
 <- { "return": {} }
 
 Example (2):
Signature · 1 line
1.9.3