From 2cfd8e5f04b72166368918d2ba04e82f941cccae Mon Sep 17 00:00:00 2001 From: "Yichun Zhang (agentzh)" Date: Sun, 9 Dec 2018 14:36:08 -0800 Subject: [PATCH] feature: ./configure: added support for the -h option. --- util/configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/configure b/util/configure index cadd369..9102396 100755 --- a/util/configure +++ b/util/configure @@ -228,7 +228,7 @@ for my $opt (@ARGV) { } elsif ($opt eq '--with-debug') { $resty_opts{debug} = 1; - } elsif ($opt eq '--help') { + } elsif ($opt eq '--help' || $opt eq '-h') { usage 0; } elsif ($opt =~ /^--with-cc-opt=(.*)/) {