diff --git a/Command/BuildModelCommand.php b/Command/BuildModelCommand.php index 15695c2..fc11116 100644 --- a/Command/BuildModelCommand.php +++ b/Command/BuildModelCommand.php @@ -38,6 +38,9 @@ EOT */ protected function execute(InputInterface $input, OutputInterface $output) { + if ($input->getOption('verbose')) { + $this->additionalPhingArgs[]= 'verbose'; + } $this->callPhing('om'); foreach ($this->tempSchemas as $schemaFile => $schemaDetails) { diff --git a/Command/BuildSqlCommand.php b/Command/BuildSqlCommand.php index ddfa357..5dd9cf3 100644 --- a/Command/BuildSqlCommand.php +++ b/Command/BuildSqlCommand.php @@ -42,6 +42,9 @@ EOT */ protected function execute(InputInterface $input, OutputInterface $output) { + if ($input->getOption('verbose')) { + $this->additionalPhingArgs[]= 'verbose'; + } $this->callPhing('sql', array('propel.packageObjectModel' => false)); $filesystem = new Filesystem();