Index: tools/testing/dart/test_options.dart |
diff --git a/tools/testing/dart/test_options.dart b/tools/testing/dart/test_options.dart |
index 39145ff58bdd897e8e018c0f05d53e856e5473fe..5893c74565f20b15216fc247fe48127c4f5ab174 100644 |
--- a/tools/testing/dart/test_options.dart |
+++ b/tools/testing/dart/test_options.dart |
@@ -817,7 +817,13 @@ Note: currently only implemented for dart2js.''', |
* Print out usage information. |
*/ |
void _printHelp() { |
- print('usage: dart test.dart [options]\n'); |
+ print('usage: dart test.dart [options] [selector]'); |
+ print(''); |
+ print('The optional selector limits the tests that will be run.'); |
+ print('For example, the selector "language/issue", or equivalently'); |
+ print('"language/*issue*", limits to test files matching the regexp'); |
+ print('".*issue.*\\.dart" in the "tests/language" directory.'); |
+ print(''); |
print('Options:\n'); |
for (var option in _options) { |
print('${option.name}: ${option.description}.'); |