* @ingroup Maintenance
*/
-require_once( "Maintenance.php" );
+require_once( dirname(__FILE__) . '/Maintenance.php' );
class mcTest extends Maintenance {
public function __construct() {
$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->addArgs( array( 'server' ) );
+ $this->addArg( 'server', 'Memcached server to test' );
}
public function execute() {