17fc079948d594754eebcd91ee9f13c7d28d2a41
Author: Mark Story
Date: 2009-01-05 13:35:09 -0500
diff --git a/vendors/shells/benchmark.php b/vendors/shells/benchmark.php
index bac6d68..b0a3d68 100644
--- a/vendors/shells/benchmark.php
+++ b/vendors/shells/benchmark.php
@@ -28,6 +28,10 @@
*/
class BenchmarkShell extends Shell {
function main() {
+ if (empty($this->args)) {
+ $this->err('You must supply a URL to benchmark');
+ return;
+ }
$url = $this->args[0];
$this->out(sprintf('-> Testing %s', $url));
