better formatting for console commands help

This commit is contained in:
Alexander Makarov
2012-09-09 03:14:33 +04:00
parent 8403b60d9d
commit c1ab0a9ae5

View File

@ -172,9 +172,7 @@ class HelpController extends Controller
}
if ($comment !== '') {
echo "\nDESCRIPTION";
echo "\n-----------\n\n";
echo $comment . "\n";
echo "\n" . $comment . "\n";
}
$options = $this->getGlobalOptions($class, $controller);
@ -235,9 +233,7 @@ class HelpController extends Controller
}
if ($comment !== '') {
echo "\nDESCRIPTION";
echo "\n-----------\n\n";
echo $comment . "\n";
echo "\n" . $comment . "\n";
}
$options = $this->getOptions($method, $meta);