aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sfIsisImporterManager.class.php2
-rw-r--r--lib/task/isisInfoTask.class.php3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/sfIsisImporterManager.class.php b/lib/sfIsisImporterManager.class.php
index b7c4608..bd799d3 100644
--- a/lib/sfIsisImporterManager.class.php
+++ b/lib/sfIsisImporterManager.class.php
@@ -61,7 +61,7 @@ class sfIsisImporterManager extends IsisConnector
if (file_exists($config))
{
- $this->log("Using Cinisis config file $config.");
+ $this->log("Using Cinisis config file $config.", 'debug');
$config = sfYaml::load($config);
}
else {
diff --git a/lib/task/isisInfoTask.class.php b/lib/task/isisInfoTask.class.php
index da4836c..1124773 100644
--- a/lib/task/isisInfoTask.class.php
+++ b/lib/task/isisInfoTask.class.php
@@ -4,6 +4,7 @@ class isisInfoTask extends mySfTask
{
protected function configure()
{
+ $this->addArgument('database', sfCommandArgument::OPTIONAL, 'Optional database name');
$this->addOptions(array(
new sfCommandOption('application', null, sfCommandOption::PARAMETER_REQUIRED, 'The application name'),
new sfCommandOption('env', null, sfCommandOption::PARAMETER_REQUIRED, 'The environment', 'dev'),
@@ -36,6 +37,6 @@ EOF;
}
// Database information.
- $isis->info($this, 'task');
+ $isis->info($this, 'task', $arguments['database']);
}
}