Permalink
Browse files

update main descrition

  • Loading branch information...
1 parent 5112074 commit d492c86ddc7f9c072d286491d8eef729f645a37d @AD7six AD7six committed Oct 18, 2011
Showing with 5 additions and 4 deletions.
  1. +5 −4 lib/Cake/Console/Command/TestShell.php
@@ -47,11 +47,12 @@ 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', 'app, core or name of a plugin.'),
- 'required' => true
+ __d('cake_console', 'Accepts'),
+ __d('cake_console', ' - path to a file'),
+ __d('cake_console', ' - path to a test file'),
+ __d('cake_console', ' - <category> <test> (syntax used until 2.0)')
))->addArgument('file', array(
- 'help' => __d('cake_console', 'file name with folder prefix and without the test.php suffix.'),
+ 'help' => __d('cake_console', 'The path to the file, or test file, to test.'),
'required' => false,
))->addOption('log-junit', array(
'help' => __d('cake_console', '<file> Log test execution in JUnit XML format to file.'),

0 comments on commit d492c86

Please sign in to comment.