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 76abd4f..660c106 100644
--- a/lib/task/isisImportTask.class.php
+++ b/lib/task/isisImportTask.class.php
@@ -5,6 +5,7 @@ class isisImportTask extends mySfTask
protected function configure()
{
$this->addArgument('rows', sfCommandArgument::OPTIONAL, 'Optional number of rows to process');
+ $this->addArgument('offset', sfCommandArgument::OPTIONAL, 'Optional row offset to start from');
$this->addOptions(array(
new sfCommandOption('application', null, sfCommandOption::PARAMETER_REQUIRED, 'The application name'),
new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environment', 'dev'),
@@ -41,6 +42,6 @@ EOF;
}
// Mass ISIS import.
- $isis->massImport($this, 'task', $arguments['rows']);
+ $isis->massImport($this, 'task', $arguments['rows'], $arguments['offset']);
}
}