From 029a3ed4546aefb7499061bc4af2575a1651728d Mon Sep 17 00:00:00 2001 From: William DURAND Date: Wed, 31 Aug 2011 16:18:40 +0200 Subject: [PATCH] [command] Typo --- Command/DatabaseDropCommand.php | 2 +- Command/TableDropCommand.php | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Command/DatabaseDropCommand.php b/Command/DatabaseDropCommand.php index cfbb6a9..27f3fe4 100644 --- a/Command/DatabaseDropCommand.php +++ b/Command/DatabaseDropCommand.php @@ -82,7 +82,7 @@ EOT ), 'fg=white;bg=red'); } } else { - $output->writeln('You have to use --force to drop the database.'); + $output->writeln('You have to use the "--force" option to drop the database.'); } } } diff --git a/Command/TableDropCommand.php b/Command/TableDropCommand.php index 7c6689a..5131255 100644 --- a/Command/TableDropCommand.php +++ b/Command/TableDropCommand.php @@ -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('You have to use --force to drop some table.'); + $output->writeln('You have to use the "--force" option to drop some tables.'); } } }