Skip to content

Commit

Permalink
Adding a blank line after the epilog on generated help. Makes for sli…
Browse files Browse the repository at this point in the history
…ghtly more readable output.
  • Loading branch information
markstory committed Oct 19, 2010
1 parent df55c08 commit 6f29441
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cake/console/libs/console_option_parser.php
Expand Up @@ -533,6 +533,7 @@ public function help($subcommand = null, $width = 72) {
}
if (!empty($this->_epilog)) {
$out[] = String::wrap($this->_epilog, $width);
$out[] = '';
}
return implode("\n", $out);
}
Expand Down
Expand Up @@ -501,6 +501,7 @@ function testHelpDescriptionAndEpilog() {
model The model to make.
epilog text
TEXT;
$this->assertEquals($expected, $result, 'Help is wrong.');
}
Expand Down

0 comments on commit 6f29441

Please sign in to comment.