Skip to content

Commit

Permalink
Fixing the path to tests on upgrade shell and also fixing the option …
Browse files Browse the repository at this point in the history
…for git, it needs to be boolean.
  • Loading branch information
renan committed Sep 1, 2011
1 parent 7ae89c3 commit 265c094
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions lib/Cake/Console/Command/UpgradeShell.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ class UpgradeShell extends Shell {
'Helper' => 'View/Helper',
'Shell' => 'Console/Command',
'Task' => 'Console/Command/Task',
'Case' => 'tests/Case',
'Fixture' => 'tests/Fixture',
'Case' => 'Test/Case',
'Fixture' => 'Test/Fixture',
'Error' => 'Lib/Error',
);

Expand Down Expand Up @@ -644,9 +644,10 @@ public function getOptionParser() {
'help' => __('The extension(s) to search. A pipe delimited list, or a preg_match compatible subpattern'),
'default' => 'php|ctp|thtml|inc|tpl'
),
'git'=> array(
'help' => __('use git command for moving files around.'),
'default' => 0
'git' => array(
'short' => 'g',
'help' => __('Use git command for moving files around.'),
'boolean' => true
),
'dry-run'=> array(
'short' => 'd',
Expand Down

0 comments on commit 265c094

Please sign in to comment.