Skip to content
Permalink
Browse files

Adding a connection object for use with bake all.

  • Loading branch information...
markstory committed Oct 19, 2010
1 parent de61596 commit bd156bb6013608e5cfe001a9017cd484761ef094
Showing with 4 additions and 0 deletions.
  1. +4 −0 cake/console/shells/bake.php
@@ -231,6 +231,10 @@ public function getOptionParser() {
))->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'
));
}

0 comments on commit bd156bb

Please sign in to comment.
You can’t perform that action at this time.