1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

added help text on -h

This commit is contained in:
Daniel Stenberg 2000-11-14 10:28:25 +00:00
parent e64b8a8f86
commit 0c19d2518c

View File

@ -1,4 +1,5 @@
#!/usr/bin/perl
# $Id$
#
# Main curl test script, in perl to run on more platforms
#
@ -343,6 +344,18 @@ do {
# short output
$short=1;
}
elsif($ARGV[0] eq "-h") {
# show help text
print <<EOHELP
Usage: runtests.pl [-h][-s][-v][numbers]
-h this help text
-s short output
-v verbose output
[num] as string like "5 6 9" to run those tests only
EOHELP
;
exit;
}
elsif($ARGV[0] =~ /^(\d+)/) {
$TESTCASES=$ARGV[0]; # run these tests
}