aboutsummaryrefslogtreecommitdiff
path: root/lib/task/isisImportTask.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/task/isisImportTask.class.php')
-rw-r--r--lib/task/isisImportTask.class.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/task/isisImportTask.class.php b/lib/task/isisImportTask.class.php
index 660c106..124932c 100644
--- a/lib/task/isisImportTask.class.php
+++ b/lib/task/isisImportTask.class.php
@@ -11,6 +11,7 @@ class isisImportTask extends mySfTask
new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environment', 'dev'),
new sfCommandOption('connection', null, sfCommandOption::PARAMETER_REQUIRED, 'The connection name', 'doctrine'),
new sfCommandOption('loglevel', 'l', sfCommandOption::PARAMETER_REQUIRED, 'Log level', 'info'),
+ new sfCommandOption('database', 'd', sfCommandOption::PARAMETER_REQUIRED, 'Database', null),
));
$this->namespace = 'isis';
@@ -42,6 +43,6 @@ EOF;
}
// Mass ISIS import.
- $isis->massImport($this, 'task', $arguments['rows'], $arguments['offset']);
+ $isis->massImport($this, 'task', $arguments['rows'], $arguments['offset'], $options['database']);
}
}