]> xenbits.xensource.com Git - qemu-xen-unstable.git/commit
configure: Improve help behavior
authorFam Zheng <famz@redhat.com>
Fri, 18 Apr 2014 06:55:36 +0000 (14:55 +0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 27 Apr 2014 09:04:18 +0000 (13:04 +0400)
commit2d2ad6d0902bb6338f7fc64e52c202439b90f7ce
treee966c800213a5a691af2b947b086903f0f6c67e6
parent6e1d3c1c855818a6d1399698572afae0d11b872b
configure: Improve help behavior

Old:
There are two paths to show help and exit 1, one is with "-h" or
"--help", one is with invalid options.

New:
Show help and exit 0 for --help.
On invalid option, don't show the long help and bury the early "ERROR:"
line, just give a message pointing to --help.

Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
configure