From: Brion Vibber Date: Wed, 30 Sep 2009 21:24:47 +0000 (+0000) Subject: Fix regression: server parameter needs to be optional; most of the time we *do not... X-Git-Tag: 1.31.0-rc.0~39443 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=5f77720601dc8e6f23a0a68545ba7ef5a942af2c;p=lhc%2Fweb%2Fwiklou.git Fix regression: server parameter needs to be optional; most of the time we *do not* want to use one since it's going to test all defined servers --- diff --git a/maintenance/mctest.php b/maintenance/mctest.php index 4e424b1158..3667cb9385 100644 --- a/maintenance/mctest.php +++ b/maintenance/mctest.php @@ -29,7 +29,7 @@ class mcTest extends Maintenance { $this->mDescription = "Makes several 'set', 'incr' and 'get' requests on every" . " memcached server and shows a report"; $this->addOption( 'i', 'Number of iterations', false, true ); - $this->addArg( 'server', 'Memcached server to test' ); + $this->addArg( 'server', 'Memcached server to test', false ); } public function execute() {