aboutsummaryrefslogtreecommitdiff
path: root/lib/task/isisInfoTask.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/task/isisInfoTask.class.php')
-rw-r--r--lib/task/isisInfoTask.class.php3
1 files changed, 2 insertions, 1 deletions
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']);
}
}