Browse files

Merge pull request #254 from zebraf1/patch-1

Update BuildCommand.php
  • Loading branch information...
2 parents 9d74cee + bd8f1fe commit 16149008db6c575e68a94922a682640ccc58e4c9 @willdurand willdurand committed Nov 18, 2013
Showing with 4 additions and 1 deletion.
  1. +4 −1 Command/BuildCommand.php
View
5 Command/BuildCommand.php
@@ -52,7 +52,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
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 @@ protected function execute(InputInterface $input, OutputInterface $output)
$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 @@ protected function execute(InputInterface $input, OutputInterface $output)
$in = new ArrayInput(array(
'command' => 'propel:sql:insert',
'--connection' => $input->getOption('connection'),
+ '--verbose' => $input->getOption('verbose')
@zebraf1
zebraf1 added a line comment Nov 18, 2013

Oops, missing a comma at the end of the line

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
'--force' => true,
));
$insertCommand = $this->getApplication()->find('propel:sql:insert');

0 comments on commit 1614900

Please sign in to comment.