From d59f6c00b8c5ae8de5f6e735515a67a61bc29bf0 Mon Sep 17 00:00:00 2001 From: Alexander Makarov Date: Tue, 25 Dec 2012 19:53:10 +0400 Subject: [PATCH] better formatting of global parameters help --- framework/console/controllers/HelpController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/console/controllers/HelpController.php b/framework/console/controllers/HelpController.php index 8d39ddc..63d05db 100644 --- a/framework/console/controllers/HelpController.php +++ b/framework/console/controllers/HelpController.php @@ -184,8 +184,8 @@ class HelpController extends Controller if ($description != '') { echo ": $description\n"; } + echo "\n"; } - echo "\n"; } $actions = $this->getActions($controller); @@ -334,9 +334,9 @@ class HelpController extends Controller $type = $comment; $doc = ''; } - $comment = $type === '' ? '' : ($type . '.'); + $comment = $type === '' ? '' : ($type); if (trim($doc) !== '') { - $comment .= "\n" . preg_replace("/^/m", " ", $doc); + $comment .= ', ' . preg_replace("/^/m", "", $doc); } $options[$name] = $comment; break;