aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-05-11 11:39:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-05-11 11:39:42 +0000
commit1f340a262f5b85c480727bf6a68e0dd35d8c844a (patch)
treeb5996623438ccb7bc73552d465b3fe5a3c48605c
parent242a17b9e0e430ba5933f7b2ae5586233ec35f33 (diff)
support --help to do the same as -h
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index 4ca2ef945..18e64b724 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -2799,7 +2799,7 @@ while(@ARGV) {
# keep stdout and stderr files after tests
$keepoutfiles=1;
}
- elsif($ARGV[0] eq "-h") {
+ elsif(($ARGV[0] eq "-h") || ($ARGV[0] eq "--help")) {
# show help text
print <<EOHELP
Usage: runtests.pl [options] [test selection(s)]