support --help to do the same as -h
This commit is contained in:
Родитель
242a17b9e0
Коммит
1f340a262f
|
@ -2799,7 +2799,7 @@ while(@ARGV) {
|
||||||
# keep stdout and stderr files after tests
|
# keep stdout and stderr files after tests
|
||||||
$keepoutfiles=1;
|
$keepoutfiles=1;
|
||||||
}
|
}
|
||||||
elsif($ARGV[0] eq "-h") {
|
elsif(($ARGV[0] eq "-h") || ($ARGV[0] eq "--help")) {
|
||||||
# show help text
|
# show help text
|
||||||
print <<EOHELP
|
print <<EOHELP
|
||||||
Usage: runtests.pl [options] [test selection(s)]
|
Usage: runtests.pl [options] [test selection(s)]
|
||||||
|
|
Загрузка…
Ссылка в новой задаче