1
0
mirror of synced 2025-01-24 01:01:41 +03:00

add shortcut for force

This commit is contained in:
Torben 2013-05-20 10:06:11 +02:00
parent c9d9b68fa9
commit 997f22fbb9
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -53,7 +53,7 @@ class DropCommand extends AbstractCommand
'Instead of try to apply generated SQLs into EntityManager Storage Connection, output them.' 'Instead of try to apply generated SQLs into EntityManager Storage Connection, output them.'
), ),
new InputOption( 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." "Don't ask for the deletion of the database, but force the operation to run."
), ),
new InputOption( new InputOption(

View File

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