1
0
mirror of synced 2025-03-09 22:36:14 +03:00

Merge pull request #674 from TorbenBr/master

Shortcut for force
This commit is contained in:
Benjamin Eberlei 2014-01-02 15:02:46 -08:00
commit 8118dddc6a
3 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ class ConvertMappingCommand extends Command
'The path to generate your entities classes.'
),
new InputOption(
'force', null, InputOption::VALUE_NONE,
'force', 'f', InputOption::VALUE_NONE,
'Force to overwrite existing mapping files.'
),
new InputOption(

View File

@ -53,7 +53,7 @@ class DropCommand extends AbstractCommand
'Instead of trying to apply generated SQLs into EntityManager Storage Connection, output them.'
),
new InputOption(
'force', null, InputOption::VALUE_NONE,
'force', 'f', InputOption::VALUE_NONE,
"Don't ask for the deletion of the database, but force the operation to run."
),
new InputOption(

View File

@ -65,7 +65,7 @@ class UpdateCommand extends AbstractCommand
'Dumps the generated SQL statements to the screen (does not execute them).'
),
new InputOption(
'force', null, InputOption::VALUE_NONE,
'force', 'f', InputOption::VALUE_NONE,
'Causes the generated SQL statements to be physically executed against your database.'
),
));