mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Add missing argument.
Without this argument calls with two arguments would be treated as invalid shell commands.
This commit is contained in:
parent
485c15d55d
commit
f5ae9622e6
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,9 @@ class TestShell extends Shell {
|
|||
$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,
|
||||
|
|
Loading…
Reference in a new issue