[build] add -h short option support

add -h short option support as common practice.

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
This commit is contained in:
Jun Zhao
2020-08-05 16:42:30 +08:00
committed by Maxim Sharabayko
parent 211f9053aa
commit 2f75c336ad
Vendored
+1 -1
View File
@@ -102,7 +102,7 @@ foreach {o desc} $options {
}
if { $argv == "--help" } {
if { $argv == "--help" || $argv == "-h" } {
puts stderr "Usage: ./configure \[options\]"
puts stderr "OPTIONS:"
foreach o [lsort [array names opt]] {