RunGenerator.php
[Pman.Core] / RunGenerator.php
index 9653fe5..4bcb0cf 100644 (file)
@@ -74,8 +74,9 @@ class Pman_Core_RunGenerator extends Pman
        
         
         $modules = is_string($opts['modules']) ? array($opts['modules']) : $opts['modules'];
-       
-        $x->start($this->cli, $modules, $lastarg);
+        $overwrite = is_string($opts['overwrite']) ? array($opts['overwrite']) : $opts['overwrite'];
+
+        $x->start($this->cli, $modules, overwrite);
         
         // technically it would be good to trash the cached ini files here.. 
         // however we can not really do that, as the ownships are off..