Skip to content
Snippets Groups Projects
Commit 2d2ad6d0 authored by Fam Zheng's avatar Fam Zheng Committed by Michael Tokarev
Browse files

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: default avatarFam Zheng <famz@redhat.com>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent 6e1d3c1c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment