[command] Typo

This commit is contained in:
William DURAND 2011-08-31 16:18:40 +02:00
commit 029a3ed454
2 changed files with 4 additions and 4 deletions

View file

@ -55,6 +55,8 @@ EOT
*/
protected function execute(InputInterface $input, OutputInterface $output)
{
$this->writeSection($output, '[Propel] You are running the command: propel:table:drop');
$tablesToDelete = $input->getArgument('table');
if ($input->getOption('force')) {
@ -76,8 +78,6 @@ EOT
}
}
$this->writeSection($output, '[Propel] You are running the command: propel:table:drop');
try {
list($name, $config) = $this->getConnection($input, $output);
$connection = \Propel::getConnection($name);
@ -122,7 +122,7 @@ EOT
}
}
else {
$output->writeln('<error>You have to use --force to drop some table.</error>');
$output->writeln('<error>You have to use the "--force" option to drop some tables.</error>');
}
}
}