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

Unified Diff: pkg/analyzer_cli/lib/src/options.dart

Issue 2709013005: Tweaks to the analyzer_cli. (Closed)
Patch Set: Created 3 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 | « pkg/analyzer/lib/src/command_line/arguments.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer_cli/lib/src/options.dart
diff --git a/pkg/analyzer_cli/lib/src/options.dart b/pkg/analyzer_cli/lib/src/options.dart
index d1550c30f5a889d3bc2a46bf4e023011b23e6ae7..53cf041c5b90d336edd60dea4a049bc9d5da1d5d 100644
--- a/pkg/analyzer_cli/lib/src/options.dart
+++ b/pkg/analyzer_cli/lib/src/options.dart
@@ -350,7 +350,7 @@ class CommandLineOptions {
hide: hide)
..addOption('build-summary-input',
help: 'Path to a summary file that contains information from a '
- 'previous analysis run. May be specified multiple times.',
+ 'previous analysis run; may be specified multiple times.',
allowMultiple: true,
hide: hide)
..addOption('build-summary-output',
@@ -399,7 +399,7 @@ class CommandLineOptions {
hide: hide)
..addOption('x-package-warnings-prefix',
help:
- 'Show warnings from package: imports that match the given prefix',
+ 'Show warnings from package: imports that match the given prefix.',
hide: hide)
..addFlag('enable-conditional-directives',
help:
@@ -490,7 +490,7 @@ class CommandLineOptions {
return null; // Only reachable in testing.
}
} else if (results['version']) {
- outSink.write('$_binaryName version ${_getVersion()}');
+ outSink.writeln('$_binaryName version ${_getVersion()}');
exitHandler(0);
return null; // Only reachable in testing.
} else {
« no previous file with comments | « pkg/analyzer/lib/src/command_line/arguments.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698