diff --git a/src/dynamic.cpp b/src/dynamic.cpp
index 5d017be8d84f6f781b161c4b96a6aa827f348b09..9d19eac0530345aa98d4d37731fd1450cf07cc7d 100644
--- a/src/dynamic.cpp
+++ b/src/dynamic.cpp
@@ -335,18 +335,18 @@ Dynamic( const std::string & name, bool build )
 
     docstring = "    \n"
       "    Get the dimension of the robot configuration.\n"
-      "    \n";
-      "      Return:\n";
-      "        an unsigned int: the dimension.\n";
+      "    \n"
+      "      Return:\n"
+      "        an unsigned int: the dimension.\n"
       "    \n";
     addCommand("getDimension",
 	       new command::GetDimension(*this, docstring));
 
     docstring = "    \n"
       "    Write the robot kinematic chain in a file.\n"
-      "    \n";
-      "      Input:\n";
-      "        a string: a filename.\n";
+      "    \n"
+      "      Input:\n"
+      "        a string: a filename.\n"
       "    \n";
     addCommand("write",
 	       new command::Write(*this, docstring));