projects
/
lab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cff45ef
)
print usage if no arguments
author
Ken-ichi Mito
<mitty@mitty.jp>
Tue, 4 Mar 2014 21:49:04 +0000
(06:49 +0900)
committer
Ken-ichi Mito
<mitty@mitty.jp>
Tue, 4 Mar 2014 21:49:04 +0000
(06:49 +0900)
misc/httpbench.pl
patch
|
blob
|
history
diff --git
a/misc/httpbench.pl
b/misc/httpbench.pl
index
c36ed64
..
78191dd
100755
(executable)
--- a/
misc/httpbench.pl
+++ b/
misc/httpbench.pl
@@
-9,6
+9,8
@@
use Parallel::ForkManager;
use LWP::Simple;
use Time::HiRes qw(sleep);
+usage() if (@ARGV == 0);
+
GetOptions(
'h|help' => \ my $help,
'i|inputfile=s' => \ my $file,