Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1641)

Unified Diff: lib/src/runner/configuration/args.dart

Issue 1684063004: Tighten the constraint on args. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/configuration/args.dart
diff --git a/lib/src/runner/configuration/args.dart b/lib/src/runner/configuration/args.dart
index 9f661460b57a23f4930197e403dc0ea36c9b6126..47df545a462692f688ac4ffb24a467f33f0a98c9 100644
--- a/lib/src/runner/configuration/args.dart
+++ b/lib/src/runner/configuration/args.dart
@@ -30,6 +30,7 @@ final ArgParser _parser = (() {
// We pass null values rather than defaults to [new Configuration] so that it
// merges properly with the config file.
+ parser.addSeparator("======== Selecting Tests");
parser.addOption("name",
abbr: 'n',
help: 'A substring of the name of the test to run.\n'
@@ -50,6 +51,7 @@ final ArgParser _parser = (() {
allowMultiple: true);
parser.addOption("exclude-tag", hide: true, allowMultiple: true);
+ parser.addSeparator("======== Running Tests");
parser.addOption("platform",
abbr: 'p',
help: 'The platform(s) on which to run the tests.',
@@ -73,6 +75,7 @@ final ArgParser _parser = (() {
'Currently only supported for browser tests.',
negatable: false);
+ parser.addSeparator("======== Output");
parser.addOption("reporter",
abbr: 'r',
help: 'The runner used to print test results.',
« no previous file with comments | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698