Redo addArgs() as addArg() so we can actually do useful things with arguments like...
[lhc/web/wiklou.git] / maintenance / cleanupSpam.php
index f9e897e..fb76e31 100644 (file)
@@ -27,7 +27,7 @@ class CleanupSpam extends Maintenance {
                parent::__construct();
                $this->mDescription = "Cleanup all spam from a given hostname";
                $this->addOption( 'all', 'Check all wikis in $wgLocalDatabases' );
-               $this->addArgs( array( 'hostname' ) );
+               $this->addArg( 'hostname', 'Hostname that was spamming' );
        }
 
        public function execute() {