Changeset 2295 for cobra/trunk/Source/CommandLine.cobra
- Timestamp:
- 02/28/10 21:24:48 (2 years ago)
- Files:
-
- 1 modified
-
cobra/trunk/Source/CommandLine.cobra (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cobra/trunk/Source/CommandLine.cobra
r2291 r2295 73 73 else 74 74 this['type'] = 'string' 75 assert _type in ['accumulator', 'args-list', 'bool', 'int', 'main', 'menu', 'set', 'string']75 assert _type in ['accumulator', 'args-list', 'bool', 'int', 'main', 'menu', 'set', 'string'] 76 76 if .containsKey('synonyms') 77 77 for syn in this['synonyms'] … … 312 312 'name': 'main', 313 313 'type': 'string', 314 'description': 'Specify the type containing the "main" method, particularly when more than type declarationshas a "main" method.',314 'description': 'Specify the type containing the "main" method, particularly when more than one type declaration has a "main" method.', 315 315 'args': 'TYPENAME', 316 316 }, … … 416 416 { 417 417 'name': 'test', 418 'description': 'Run the unit tests in the code .',418 'description': 'Run the unit tests in the code without running .main. Works for libraries too.', 419 419 'type': 'main', 420 }, 421 { 422 'name': 'test-runner', 423 'type': 'string', 424 'description': 'Specify the method to invoke to run the unit tests. The method must be "shared". Typically the method will make use of classes in Cobra.Lang.Test to set up and initiate the test run.', 425 'default': 'Cobra.Lang.CobraCore.runAllTests', 426 'args': 'QUALIFIED-METHOD-NAME|nil', 420 427 }, 421 428 {



