minor changes

This commit is contained in:
tmont 2009-06-22 04:16:21 +00:00
parent cd6df1ffbd
commit 06aaa82a09
2 changed files with 2 additions and 3 deletions

View File

@ -121,8 +121,7 @@
}
$closure = create_function('',
'
$args = func_get_args();
'$args = func_get_args();
static $obj = null;
if ($obj === null && isset($args[0]) && is_object($args[0])) {

View File

@ -21,7 +21,7 @@
global $switches;
$switches = new CliSwitchCollection();
$switches->addSwitch(new CliSwitch(null, null, true, '<files>', 'Files and/or directories to parse for test cases'))
->addSwitch(new CliSwitch('help', 'h', false, null, 'Display this help message (--usage is an alias)'))
->addSwitch(new CliSwitch('help', 'h', false, null, 'Display this help message (also --usage)'))
->addSwitch(new CliSwitch('recursive', null, false, null, 'Recurse into subdirectories'))
->addSwitch(new CliSwitch('bootstrap', 'b', false, 'file', 'File to include before each test'));