Commit d59f6c00 by Alexander Makarov

better formatting of global parameters help

parent 7fedc309
...@@ -184,8 +184,8 @@ class HelpController extends Controller ...@@ -184,8 +184,8 @@ class HelpController extends Controller
if ($description != '') { if ($description != '') {
echo ": $description\n"; echo ": $description\n";
} }
echo "\n";
} }
echo "\n";
} }
$actions = $this->getActions($controller); $actions = $this->getActions($controller);
...@@ -334,9 +334,9 @@ class HelpController extends Controller ...@@ -334,9 +334,9 @@ class HelpController extends Controller
$type = $comment; $type = $comment;
$doc = ''; $doc = '';
} }
$comment = $type === '' ? '' : ($type . '.'); $comment = $type === '' ? '' : ($type);
if (trim($doc) !== '') { if (trim($doc) !== '') {
$comment .= "\n" . preg_replace("/^/m", " ", $doc); $comment .= ', ' . preg_replace("/^/m", "", $doc);
} }
$options[$name] = $comment; $options[$name] = $comment;
break; break;
......
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