diff --git a/cookbook/en/getting-started-xml-edition.txt b/cookbook/en/getting-started-xml-edition.txt
index 93851cc13..2a1a06b3f 100644
--- a/cookbook/en/getting-started-xml-edition.txt
+++ b/cookbook/en/getting-started-xml-edition.txt
@@ -453,8 +453,10 @@ For the commandline tool to work a cli-config.php file has to be present in the
 where you will execute the doctrine command. Its a fairly simple file:
 
     [php]
-    $cliConfig = new Doctrine\Common\Cli\Configuration();
-    $cliConfig->setAttribute('em', $entityManager);
+    $helperSet = new \Symfony\Components\Console\Helper\HelperSet(array(
+        'em' => new \Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper($entityManager)
+    ));
+    $cli->setHelperSet($helperSet);
 
 You can then use your favorite console tool to call:
 
@@ -462,6 +464,12 @@ You can then use your favorite console tool to call:
     doctrine@my-desktop> cd myproject/
     doctrine@my-desktop> doctrine orm:schema-tool:create
 
+> **NOTE**
+>
+> The `doctrine` command will only be present if you installed Doctrine from PEAR.
+> Otherwise you will have to dig into the `bin/doctrine.php` code of your Doctrine 2
+> directory to setup your doctrine commandline client.
+
 During the development you probably need to re-create the database several times when changing the Entity
 metadata. You can then either re-create the database: