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

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

Issue 1594473002: Add named groups for command-line options. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 4 years, 11 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.dart
diff --git a/lib/src/runner/configuration.dart b/lib/src/runner/configuration.dart
index a16a0881693857089841604a8fc199d9f4543e77..2876f1589f440309e42474ddeffefadb740dd3a5 100644
--- a/lib/src/runner/configuration.dart
+++ b/lib/src/runner/configuration.dart
@@ -35,6 +35,8 @@ class Configuration {
parser.addFlag("version", negatable: false,
help: "Shows the package's version.");
parser.addOption("package-root", hide: true);
+
+ parser.addSeparator("======== Selecting Tests");
parser.addOption("name",
abbr: 'n',
help: 'A substring of the name of the test to run.\n'
@@ -54,6 +56,8 @@ class Configuration {
help: "Don't run tests with any of the specified tags.",
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 +77,8 @@ class Configuration {
'Implies --concurrency=1.\n'
'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