From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzzMd-00009p-77 for qemu-devel@nongnu.org; Tue, 02 Jun 2015 23:29:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YzzMY-0000Oo-1G for qemu-devel@nongnu.org; Tue, 02 Jun 2015 23:29:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YzzMX-0000Of-S9 for qemu-devel@nongnu.org; Tue, 02 Jun 2015 23:29:05 -0400 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 7B32091C08 for ; Wed, 3 Jun 2015 03:29:04 +0000 (UTC) From: Bandan Das Date: Tue, 2 Jun 2015 23:28:38 -0400 Message-Id: <1433302122-27397-1-git-send-email-bsd@redhat.com> Subject: [Qemu-devel] [PATCH v4 0/4] monitor: suggest running "help" for command errors List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: armbru@redhat.com v4: Better name for cmdline index pointer [1/4] Change comment for monitor_parse_command as suggested in review [1/4] Fix potential compilation failure in debug print [1/4] New - Fix failure path for argument type "S" [3/4] New - Remove debug prints [4/4] v3: Track the current location directly in the command line [1/2] Fix potential qdict leak [1/2] Document char **endp [1/2] Rebase on top of changes and add reviewed-by [2/2] v2: Split up the command name and arguments parsing into separate functions. [1/2] Skip checking for failures with commands that use the .cmd_new interface or the async interface since they are scheduled for removal [2/2] Bandan Das (4): monitor: cleanup parsing of cmd name and cmd arguments When a command fails due to incorrect syntax or input, suggest using the "help" command to get more information about the command. This is only applicable for HMP. monitor: Fix failure path for "S" argument monitor: remove debug prints monitor.c | 121 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 61 insertions(+), 60 deletions(-) -- 2.1.0