feature: ./configure: added support for the -h option.

This commit is contained in:
Yichun Zhang (agentzh) 2018-12-09 14:36:08 -08:00
parent c441759ce3
commit 2cfd8e5f04
1 changed files with 1 additions and 1 deletions

2
util/configure vendored
View File

@ -228,7 +228,7 @@ for my $opt (@ARGV) {
} elsif ($opt eq '--with-debug') { } elsif ($opt eq '--with-debug') {
$resty_opts{debug} = 1; $resty_opts{debug} = 1;
} elsif ($opt eq '--help') { } elsif ($opt eq '--help' || $opt eq '-h') {
usage 0; usage 0;
} elsif ($opt =~ /^--with-cc-opt=(.*)/) { } elsif ($opt =~ /^--with-cc-opt=(.*)/) {