[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/4] linux-user: CLI cleanup
From: |
Laurent Vivier |
Subject: |
Re: [Qemu-devel] [PATCH 0/4] linux-user: CLI cleanup |
Date: |
Mon, 6 Jul 2015 21:59:44 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
Le 06/07/2015 20:03, address@hidden a écrit :
> From: Meador Inge <address@hidden>
>
> 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