Re: [Qemu-devel] [PATCH] configure: Exit with code 0 with --help

2014-04-17 Thread Michael Tokarev
18.04.2014 10:25, Fam Zheng wrote: > There are two paths to show help and exit, one is with "-h" or "--help", > one is with invalid options. > > Only "exit 1" with the latter case. I'd rather put `exit 1' right in invalid option case, instead of jumping to help. Because help output is huge, and

[Qemu-devel] [PATCH] configure: Exit with code 0 with --help

2014-04-17 Thread Fam Zheng
There are two paths to show help and exit, one is with "-h" or "--help", one is with invalid options. Only "exit 1" with the latter case. Signed-off-by: Fam Zheng --- configure | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 69b9f56..b195ef