Le 06/07/2015 20:03, mead...@codesourcery.com a écrit :
> From: Meador Inge <mead...@codesourcery.com>
> 
> 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

Reply via email to