diff mbox

qmp: fix typo in input-send-event examples

Message ID 1416902756-26593-1-git-send-email-akong@redhat.com
State New
Headers show

Commit Message

Amos Kong Nov. 25, 2014, 8:05 a.m. UTC
Lack of two closed bracket in json commands.

Signed-off-by: Amos Kong <akong@redhat.com>
---
 qmp-commands.hx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Markus Armbruster Nov. 25, 2014, 9:30 a.m. UTC | #1
Amos Kong <akong@redhat.com> writes:

> Lack of two closed bracket in json commands.
>
> Signed-off-by: Amos Kong <akong@redhat.com>

Reviewed-by: Markus Armbruster <armbru@redhat.com>
Michael Tokarev Nov. 25, 2014, 2:53 p.m. UTC | #2
25.11.2014 11:05, Amos Kong wrote:
> Lack of two closed bracket in json commands.

Applied to -trivial, thank you!

/mjt
diff mbox

Patch

diff --git a/qmp-commands.hx b/qmp-commands.hx
index 8812401..bb2e380 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -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):