diff --git a/lib/Doctrine/ORM/Tools/Console/Command/ConvertMappingCommand.php b/lib/Doctrine/ORM/Tools/Console/Command/ConvertMappingCommand.php index 5300783af..1f97a5074 100644 --- a/lib/Doctrine/ORM/Tools/Console/Command/ConvertMappingCommand.php +++ b/lib/Doctrine/ORM/Tools/Console/Command/ConvertMappingCommand.php @@ -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( diff --git a/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/DropCommand.php b/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/DropCommand.php index f7ba0687b..b5daf798e 100644 --- a/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/DropCommand.php +++ b/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/DropCommand.php @@ -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( diff --git a/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/UpdateCommand.php b/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/UpdateCommand.php index 0c2665eda..884833ca5 100644 --- a/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/UpdateCommand.php +++ b/lib/Doctrine/ORM/Tools/Console/Command/SchemaTool/UpdateCommand.php @@ -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.' ), ));