diff options
author | Silvio <silvio@devlet.com.br> | 2010-11-17 18:34:25 -0200 |
---|---|---|
committer | Silvio <silvio@devlet.com.br> | 2010-11-17 18:34:25 -0200 |
commit | 17be361fbd5f39738b78cecff3da64fc8bf4363e (patch) | |
tree | a6296782eec675beff84e041ead9847e82622e14 /lib/task/isisInfoTask.class.php | |
parent | ab16e715c988c0ac27c3872640796adb0e81848f (diff) | |
download | sf_isis_importer_plugin-17be361fbd5f39738b78cecff3da64fc8bf4363e.tar.gz sf_isis_importer_plugin-17be361fbd5f39738b78cecff3da64fc8bf4363e.tar.bz2 |
Adding database argument to isis:info task
Diffstat (limited to 'lib/task/isisInfoTask.class.php')
-rw-r--r-- | lib/task/isisInfoTask.class.php | 3 |
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']); } } |