Commit c1ab0a9a by Alexander Makarov

better formatting for console commands help

parent 8403b60d
...@@ -172,9 +172,7 @@ class HelpController extends Controller ...@@ -172,9 +172,7 @@ class HelpController extends Controller
} }
if ($comment !== '') { if ($comment !== '') {
echo "\nDESCRIPTION"; echo "\n" . $comment . "\n";
echo "\n-----------\n\n";
echo $comment . "\n";
} }
$options = $this->getGlobalOptions($class, $controller); $options = $this->getGlobalOptions($class, $controller);
...@@ -235,9 +233,7 @@ class HelpController extends Controller ...@@ -235,9 +233,7 @@ class HelpController extends Controller
} }
if ($comment !== '') { if ($comment !== '') {
echo "\nDESCRIPTION"; echo "\n" . $comment . "\n";
echo "\n-----------\n\n";
echo $comment . "\n";
} }
$options = $this->getOptions($method, $meta); $options = $this->getOptions($method, $meta);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment