Skip to content

Commit

Permalink
[build] add -h short option support
Browse files Browse the repository at this point in the history
add -h short option support as common practice.

Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
  • Loading branch information
mypopydev authored and maxsharabayko committed Aug 5, 2020
1 parent 211f905 commit 2f75c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -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]] {
Expand Down

0 comments on commit 2f75c33

Please sign in to comment.