Skip to content

Commit

Permalink
Add missing argument.
Browse files Browse the repository at this point in the history
Without this argument calls with two arguments would be
treated as invalid shell commands.
  • Loading branch information
markstory committed Oct 20, 2011
1 parent 485c15d commit f5ae962
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Cake/Console/Command/TestShell.php
Expand Up @@ -47,6 +47,9 @@ public function getOptionParser() {
$parser = new ConsoleOptionParser($this->name);
$parser->description(array(
__d('cake_console', 'The CakePHP Testsuite allows you to run test cases from the command line'),
))->addArgument('category', array(
'help' => __d('cake_console', 'The category for the test, or test file, to test.'),
'required' => false,
))->addArgument('file', array(
'help' => __d('cake_console', 'The path to the file, or test file, to test.'),
'required' => false,
Expand Down

0 comments on commit f5ae962

Please sign in to comment.