Permalink
Browse files

Add {:bold} style, show all docblock in help, typo

  • Loading branch information...
1 parent 5450f20 commit ed45e5cdffd7abecc7e165dae5ac17e9deb0a166 @dshafik dshafik committed Jul 21, 2012
Showing with 6 additions and 5 deletions.
  1. +2 −2 console/Command.php
  2. +2 −1 console/Response.php
  3. +2 −2 console/command/Help.php
View
@@ -247,7 +247,7 @@ public function in($prompt = null, array $options = array()) {
*
* {{{
* -------
- * Lihtium
+ * Lithium
* -------
* }}}
*
@@ -420,4 +420,4 @@ protected function _response($type, $string, $options) {
}
}
-?>
+?>
View
@@ -124,7 +124,8 @@ public function styles($styles = array()) {
'option' => "\033[0;35m",
'command' => "\033[0;35m",
'error' => "\033[0;31m",
- 'success' => "\033[0;32m"
+ 'success' => "\033[0;32m",
+ 'bold' => "\033[1m",
);
if ($styles === false) {
return array_combine(array_keys($defaults), array_pad(array(), count($defaults), null));
View
@@ -163,7 +163,7 @@ protected function _methods($class, $options = array()) {
$comment = Docblock::comment($method['docComment']);
$name = $method['name'];
- $description = $comment['description'];
+ $description = trim($comment['description'] . PHP_EOL . $comment['text']);
$args = $method['args'];
$return = null;
@@ -321,4 +321,4 @@ protected function _pad($message, $level = 1) {
}
}
-?>
+?>

0 comments on commit ed45e5c

Please sign in to comment.