[command] Minor fix

This commit is contained in:
William DURAND 2011-09-25 12:15:28 +02:00
parent 5573f9d451
commit 8ae2b73742
2 changed files with 2 additions and 2 deletions

View file

@ -94,7 +94,7 @@ EOT
$this->writeSection($output, array(
'[Propel] Error',
'',
'An error has occured during the "sql" task process. To get more details, run the command with the "--verbose" option.'
'An error has occured during the "build-sql" task process. To get more details, run the command with the "--verbose" option.'
), 'fg=white;bg=red');
}
}

View file

@ -53,7 +53,7 @@ EOT
protected function execute(InputInterface $input, OutputInterface $output)
{
// Bad require but needed :(
require $this->getContainer()->getParameter('propel.path') . '/generator/lib/util/PropelSqlManager.php';
require_once $this->getContainer()->getParameter('propel.path') . '/generator/lib/util/PropelSqlManager.php';
$this->writeSection($output, '[Propel] You are running the command: propel:insert-sql');