[command] Typo
This commit is contained in:
parent
f18df260fe
commit
029a3ed454
2 changed files with 4 additions and 4 deletions
|
|
@ -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>');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue