Skip to content
Snippets Groups Projects
Commit 0c19d251 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

added help text on -h

parent e64b8a8f
No related branches found
No related tags found
No related merge requests found
#!/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
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment