Received: from eggs.gnu.org ([2001:4830:134:3::10]:50854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtB8J-0001l6-B3 for qemu-devel@nongnu.org; Tue, 25 Nov 2014 03:06:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtB8D-0002Or-6c for qemu-devel@nongnu.org; Tue, 25 Nov 2014 03:05:59 -0500 From: Amos Kong Date: Tue, 25 Nov 2014 16:05:56 +0800 Message-Id: <1416902756-26593-1-git-send-email-akong@redhat.com> Subject: [Qemu-devel] [PATCH] qmp: fix typo in input-send-event examples List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, kraxel@redhat.com Lack of two closed bracket in json commands. Signed-off-by: Amos Kong --- qmp-commands.hx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): -- 1.9.3