Skip to content

Commit

Permalink
Merge branch 'cli-improvements' of git://github.com/dshafik/lithium i…
Browse files Browse the repository at this point in the history
…nto dshafik
  • Loading branch information
nateabele committed Sep 13, 2012
2 parents ebcbb06 + ed45e5c commit 49f5692
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions console/Command.php
Expand Up @@ -247,7 +247,7 @@ public function in($prompt = null, array $options = array()) {
*
* {{{
* -------
* Lihtium
* Lithium
* -------
* }}}
*
Expand Down Expand Up @@ -420,4 +420,4 @@ protected function _response($type, $string, $options) {
}
}

?>
?>
3 changes: 2 additions & 1 deletion console/Response.php
Expand Up @@ -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));
Expand Down
4 changes: 2 additions & 2 deletions console/command/Help.php
Expand Up @@ -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;

Expand Down Expand Up @@ -321,4 +321,4 @@ protected function _pad($message, $level = 1) {
}
}

?>
?>

0 comments on commit 49f5692

Please sign in to comment.