mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Adding a blank line after the epilog on generated help. Makes for slightly more readable output.
This commit is contained in:
parent
df55c08133
commit
6f29441ff9
2 changed files with 2 additions and 0 deletions
|
@ -533,6 +533,7 @@ class ConsoleOptionParser {
|
|||
}
|
||||
if (!empty($this->_epilog)) {
|
||||
$out[] = String::wrap($this->_epilog, $width);
|
||||
$out[] = '';
|
||||
}
|
||||
return implode("\n", $out);
|
||||
}
|
||||
|
|
|
@ -501,6 +501,7 @@ cake mycommand [-h] [--test] <model>
|
|||
model The model to make.
|
||||
|
||||
epilog text
|
||||
|
||||
TEXT;
|
||||
$this->assertEquals($expected, $result, 'Help is wrong.');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue