From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=33834 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPcaK-000622-Tr for qemu-devel@nongnu.org; Mon, 06 Dec 2010 10:02:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPcaJ-0001Z7-BN for qemu-devel@nongnu.org; Mon, 06 Dec 2010 10:02:36 -0500 Received: from mtagate6.uk.ibm.com ([194.196.100.166]:39280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPcaJ-0001Yo-1l for qemu-devel@nongnu.org; Mon, 06 Dec 2010 10:02:35 -0500 Received: from d06nrmr1507.portsmouth.uk.ibm.com (d06nrmr1507.portsmouth.uk.ibm.com [9.149.38.233]) by mtagate6.uk.ibm.com (8.13.1/8.13.1) with ESMTP id oB6F2Xfh020911 for ; Mon, 6 Dec 2010 15:02:33 GMT Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1507.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id oB6F2bjg3166240 for ; Mon, 6 Dec 2010 15:02:38 GMT Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id oB6F2WU0023293 for ; Mon, 6 Dec 2010 08:02:32 -0700 Date: Mon, 6 Dec 2010 15:02:31 +0000 From: Stefan Hajnoczi Message-ID: <20101206150230.GG11112@stefan-thinkpad.transitives.com> References: <1291645540-9784-1-git-send-email-Jes.Sorensen@redhat.com> <1291645540-9784-8-git-send-email-Jes.Sorensen@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1291645540-9784-8-git-send-email-Jes.Sorensen@redhat.com> Subject: [Qemu-devel] Re: [PATCH 7/7] Fail if detecting an unknown option List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jes.Sorensen@redhat.com Cc: kwolf@redhat.com, qemu-devel@nongnu.org On Mon, Dec 06, 2010 at 03:25:40PM +0100, Jes.Sorensen@redhat.com wrote: > From: Jes Sorensen > > This patch changes qemu-img to exit if an unknown option is detected, > instead of trying to continue with a set of arguments which may be > incorrect. > > Signed-off-by: Jes Sorensen > --- > qemu-img.c | 8 ++++++++ > 1 files changed, 8 insertions(+), 0 deletions(-) Reviewed-by: Stefan Hajnoczi