mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Adding a connection object for use with bake all.
This commit is contained in:
parent
de615967fc
commit
bd156bb601
1 changed files with 4 additions and 0 deletions
|
@ -231,6 +231,10 @@ class BakeShell extends Shell {
|
|||
))->addSubcommand('test', array(
|
||||
'help' => __('Bake a unit test.'),
|
||||
'parser' => $this->Test->getOptionParser()
|
||||
))->addOption('connection', array(
|
||||
'help' => __('Database connection to use in conjunction with `bake all`.'),
|
||||
'short' => 'c',
|
||||
'default' => 'default'
|
||||
));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue