From: Amos Kong Date: Tue, 25 Nov 2014 08:05:56 +0000 (+0800) Subject: qmp: fix typo in input-send-event examples X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b5369dd841b55aa24dd107223e0a08d8624d1b19;p=qemu.git qmp: fix typo in input-send-event examples Lack of two closed bracket in json commands. Signed-off-by: Amos Kong Reviewed-by: Markus Armbruster Signed-off-by: Michael Tokarev --- diff --git a/qmp-commands.hx b/qmp-commands.hx index 718dd92f6a..47bcf87ee6 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -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):