[BUGFIX] Fix command description
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Mvc / Cli / Command.php
index 90f14fa..96657cd 100644 (file)
@@ -151,7 +151,7 @@ class Command {
         */
        public function getDescription() {
                $lines = explode(chr(10), $this->getCommandMethodReflection()->getDescription());
-               array_pop($lines);
+               array_shift($lines);
                $descriptionLines = array();
                foreach ($lines as $line) {
                        $trimmedLine = trim($line);