From 6bb3184dbfd3679c0aaf2323cb1ca711451c9321 Mon Sep 17 00:00:00 2001
From: Gusakov Nikita <gusakov.nik@gmail.com>
Date: Sat, 18 May 2013 02:40:18 +0400
Subject: [PATCH] fix bc

---
 .../Tools/Console/Command/ConvertDoctrine1SchemaCommand.php    | 3 ++-
 .../ORM/Tools/Console/Command/ConvertMappingCommand.php        | 3 ++-
 .../ORM/Tools/Console/Command/GenerateEntitiesCommand.php      | 3 ++-
 .../ORM/Tools/Console/Command/GenerateProxiesCommand.php       | 3 ++-
 .../ORM/Tools/Console/Command/GenerateRepositoriesCommand.php  | 3 ++-
 5 files changed, 10 insertions(+), 5 deletions(-)

diff --git a/lib/Doctrine/ORM/Tools/Console/Command/ConvertDoctrine1SchemaCommand.php b/lib/Doctrine/ORM/Tools/Console/Command/ConvertDoctrine1SchemaCommand.php
index 0e6936ac2..71d72deb8 100644
--- a/lib/Doctrine/ORM/Tools/Console/Command/ConvertDoctrine1SchemaCommand.php
+++ b/lib/Doctrine/ORM/Tools/Console/Command/ConvertDoctrine1SchemaCommand.php
@@ -101,7 +101,8 @@ class ConvertDoctrine1SchemaCommand extends Command
     protected function configure()
     {
         $this
-        ->setName('orm:convert:d1-schema')
+        ->setName('orm:convert-d1-schema')
+        ->setAliases(array('orm:convert:d1-schema'))
         ->setDescription('Converts Doctrine 1.X schema into a Doctrine 2.X schema.')
         ->setDefinition(array(
             new InputArgument(
diff --git a/lib/Doctrine/ORM/Tools/Console/Command/ConvertMappingCommand.php b/lib/Doctrine/ORM/Tools/Console/Command/ConvertMappingCommand.php
index 039843614..5300783af 100644
--- a/lib/Doctrine/ORM/Tools/Console/Command/ConvertMappingCommand.php
+++ b/lib/Doctrine/ORM/Tools/Console/Command/ConvertMappingCommand.php
@@ -48,7 +48,8 @@ class ConvertMappingCommand extends Command
     protected function configure()
     {
         $this
-        ->setName('orm:convert:mapping')
+        ->setName('orm:convert-mapping')
+        ->setAliases(array('orm:convert:mapping'))
         ->setDescription('Convert mapping information between supported formats.')
         ->setDefinition(array(
             new InputOption(
diff --git a/lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesCommand.php b/lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesCommand.php
index 7cdce30e0..a8fcac3c8 100644
--- a/lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesCommand.php
+++ b/lib/Doctrine/ORM/Tools/Console/Command/GenerateEntitiesCommand.php
@@ -46,7 +46,8 @@ class GenerateEntitiesCommand extends Command
     protected function configure()
     {
         $this
-        ->setName('orm:generate:entities')
+        ->setName('orm:generate-entities')
+        ->setAliases(array('orm:generate:entities'))
         ->setDescription('Generate entity classes and method stubs from your mapping information.')
         ->setDefinition(array(
             new InputOption(
diff --git a/lib/Doctrine/ORM/Tools/Console/Command/GenerateProxiesCommand.php b/lib/Doctrine/ORM/Tools/Console/Command/GenerateProxiesCommand.php
index 77e414d3d..522118794 100644
--- a/lib/Doctrine/ORM/Tools/Console/Command/GenerateProxiesCommand.php
+++ b/lib/Doctrine/ORM/Tools/Console/Command/GenerateProxiesCommand.php
@@ -44,7 +44,8 @@ class GenerateProxiesCommand extends Command
     protected function configure()
     {
         $this
-        ->setName('orm:generate:proxies')
+        ->setName('orm:generate-proxies')
+        ->setAliases(array('orm:generate:proxies'))
         ->setDescription('Generates proxy classes for entity classes.')
         ->setDefinition(array(
             new InputOption(
diff --git a/lib/Doctrine/ORM/Tools/Console/Command/GenerateRepositoriesCommand.php b/lib/Doctrine/ORM/Tools/Console/Command/GenerateRepositoriesCommand.php
index fdb88d2d1..975bc6938 100644
--- a/lib/Doctrine/ORM/Tools/Console/Command/GenerateRepositoriesCommand.php
+++ b/lib/Doctrine/ORM/Tools/Console/Command/GenerateRepositoriesCommand.php
@@ -45,7 +45,8 @@ class GenerateRepositoriesCommand extends Command
     protected function configure()
     {
         $this
-        ->setName('orm:generate:repositories')
+        ->setName('orm:generate-repositories')
+        ->setAliases(array('orm:generate:repositories'))
         ->setDescription('Generate repository classes from your mapping information.')
         ->setDefinition(array(
             new InputOption(