From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCCYc-0006wD-6d for qemu-devel@nongnu.org; Mon, 06 Jul 2015 16:00:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCCYZ-0005QQ-BC for qemu-devel@nongnu.org; Mon, 06 Jul 2015 16:00:02 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:64995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCCYZ-0005PQ-1A for qemu-devel@nongnu.org; Mon, 06 Jul 2015 15:59:59 -0400 References: <1436205821-20320-1-git-send-email-meadori@codesourcery.com> From: Laurent Vivier Message-ID: <559ADE30.5060103@vivier.eu> Date: Mon, 6 Jul 2015 21:59:44 +0200 MIME-Version: 1.0 In-Reply-To: <1436205821-20320-1-git-send-email-meadori@codesourcery.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 0/4] linux-user: CLI cleanup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: meadori@codesourcery.com, qemu-devel@nongnu.org Cc: riku.voipio@iki.fi Le 06/07/2015 20:03, meadori@codesourcery.com a écrit : > From: Meador Inge > > This patch series fixes a few nits in the Linux > usermode driver to make the general behavior less > surprising (proper error codes, --foo options, and > -help) and to make it easier to discover bad command > line input. > > Meador Inge (4): > linux-user: Exit 0 when -h is used > linux-user: Add -help > linux-user: Add proper error messages for bad options > linux-user: Treat --foo options the same as -foo > > linux-user/main.c | 30 ++++++++++++++++++++---------- > 1 file changed, 20 insertions(+), 10 deletions(-) > Perhaps it is time to switch to getopt_long() ? (We could manage environment variable in second array). Riku, your opinion ? Laurent