From d492c86ddc7f9c072d286491d8eef729f645a37d Mon Sep 17 00:00:00 2001 From: AD7six Date: Tue, 18 Oct 2011 10:28:05 +0200 Subject: [PATCH] update main descrition --- lib/Cake/Console/Command/TestShell.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/Cake/Console/Command/TestShell.php b/lib/Cake/Console/Command/TestShell.php index 170ffccbde3..b7214f42179 100644 --- a/lib/Cake/Console/Command/TestShell.php +++ b/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', ' - (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', ' Log test execution in JUnit XML format to file.'),