[command] Fixed output in graphviz command
This commit is contained in:
parent
7b2359d3d3
commit
bcdfcc9b85
|
@ -38,12 +38,14 @@ EOT
|
|||
*/
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$this->writeSection($output, '[Propel] You are running the command: propel:graphviz');
|
||||
|
||||
$dest = $this->getApplication()->getKernel()->getRootDir() . '/propel/graph/';
|
||||
|
||||
$this->callPhing('graphviz', array(
|
||||
'propel.graph.dir' => $dest,
|
||||
));
|
||||
|
||||
$output->writeln(sprintf('Graphviz file is in "<info>%s</info>".', $dest));
|
||||
$output->writeln(sprintf('Graphviz file is in <info>%s</info>.', $dest));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue