From bd156bb6013608e5cfe001a9017cd484761ef094 Mon Sep 17 00:00:00 2001 From: mark_story Date: Mon, 18 Oct 2010 22:38:56 -0400 Subject: [PATCH] Adding a connection object for use with bake all. --- cake/console/shells/bake.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cake/console/shells/bake.php b/cake/console/shells/bake.php index 63b02bfc9..e00a988f8 100644 --- a/cake/console/shells/bake.php +++ b/cake/console/shells/bake.php @@ -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' )); }