Index: pkg/analyzer_cli/lib/src/build_mode.dart |
diff --git a/pkg/analyzer_cli/lib/src/build_mode.dart b/pkg/analyzer_cli/lib/src/build_mode.dart |
index 34e2c163761d897208a454692f0e24c41e0ddc18..658b25196946ec0047d8552875356359794d403f 100644 |
--- a/pkg/analyzer_cli/lib/src/build_mode.dart |
+++ b/pkg/analyzer_cli/lib/src/build_mode.dart |
@@ -76,7 +76,7 @@ class AnalyzerWorkerLoop extends SyncWorkerLoop { |
} |
// Prepare options. |
CommandLineOptions options = |
- CommandLineOptions.parse(arguments, (String msg) { |
+ CommandLineOptions.parse(arguments, printAndFail: (String msg) { |
throw new ArgumentError(msg); |
}); |
// Analyze and respond. |