Commit d59f6c00 by Alexander Makarov

better formatting of global parameters help

parent 7fedc309
......@@ -184,9 +184,9 @@ class HelpController extends Controller
if ($description != '') {
echo ": $description\n";
}
}
echo "\n";
}
}
$actions = $this->getActions($controller);
if ($actions !== array()) {
......@@ -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;
......
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