From bd8f1fe08334b2cbb50a155ca4d027f574ded4d9 Mon Sep 17 00:00:00 2001 From: Jaak Tamre Date: Mon, 18 Nov 2013 14:46:23 +0200 Subject: [PATCH] Update BuildCommand.php Pas verbose option for sub commands. --- Command/BuildCommand.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Command/BuildCommand.php b/Command/BuildCommand.php index ee84632..ef9f935 100644 --- a/Command/BuildCommand.php +++ b/Command/BuildCommand.php @@ -52,7 +52,8 @@ class BuildCommand extends AbstractCommand if (!$input->getOption('sql')) { $in = new ArrayInput(array( 'command' => 'propel:model:build', - '--connection' => $input->getOption('connection') + '--connection' => $input->getOption('connection'), + '--verbose' => $input->getOption('verbose') )); $modelCommand = $this->getApplication()->find('propel:model:build'); $res = $modelCommand->run($in, $output); @@ -62,6 +63,7 @@ class BuildCommand extends AbstractCommand $in = new ArrayInput(array( 'command' => 'propel:build:sql', '--connection' => $input->getOption('connection'), + '--verbose' => $input->getOption('verbose') )); $sqlCommand = $this->getApplication()->find('propel:sql:build'); $sqlCommand->run($in, $output); @@ -71,6 +73,7 @@ class BuildCommand extends AbstractCommand $in = new ArrayInput(array( 'command' => 'propel:sql:insert', '--connection' => $input->getOption('connection'), + '--verbose' => $input->getOption('verbose') '--force' => true, )); $insertCommand = $this->getApplication()->find('propel:sql:insert');