From c1ab0a9ae590e627ada1755a3a63742fcdfa4bc8 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Sun, 9 Sep 2012 03:14:33 +0400 Subject: [PATCH] better formatting for console commands help --- framework/console/controllers/HelpController.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/framework/console/controllers/HelpController.php b/framework/console/controllers/HelpController.php index 8806fe0..8d39ddc 100644 --- a/framework/console/controllers/HelpController.php +++ b/framework/console/controllers/HelpController.php @@ -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);