From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:52385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCf84-00010X-MP for qemu-devel@nongnu.org; Tue, 27 Mar 2012 18:44:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SCf83-00032U-5F for qemu-devel@nongnu.org; Tue, 27 Mar 2012 18:44:40 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:39720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SCf82-00031k-Vl for qemu-devel@nongnu.org; Tue, 27 Mar 2012 18:44:39 -0400 From: Meador Inge Date: Tue, 27 Mar 2012 17:44:27 -0500 Message-ID: <1332888271-7083-1-git-send-email-meadori@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH 0/4] linux-user: Option parser cleanup List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: riku.voipio@iki.fi This series is focused at cleaning up a few issues in the GNU/Linux usermode driver's option parsing. -h has been fixed to exit with 0, a -help option has been added, proper error messages have been added for unknown options and bad arguments, and --foo is now excepted in addition to -foo. 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 files changed, 20 insertions(+), 10 deletions(-) -- 1.7.7.6