]> granicus.if.org Git - curl/commitdiff
support --help to do the same as -h
authorDaniel Stenberg <daniel@haxx.se>
Mon, 11 May 2009 11:39:42 +0000 (11:39 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 11 May 2009 11:39:42 +0000 (11:39 +0000)
tests/runtests.pl

index 4ca2ef945357b79ee695126c98f67970e35a17bd..18e64b724aee03cbbbf9e1dbe4938aefb483543b 100755 (executable)
@@ -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)]