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

Unified Diff: dart/lib/compiler/implementation/dart2js.dart

Issue 10911311: Hack to accept, but not use, colors option (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 3 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 | « AUTHORS ('k') | dart/pkg/dartdoc/bin/dartdoc.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/lib/compiler/implementation/dart2js.dart
diff --git a/dart/lib/compiler/implementation/dart2js.dart b/dart/lib/compiler/implementation/dart2js.dart
index 376b24c5a76ff7ee857c14cba6a3541334441e79..c6f173ce08320d29d422888953de0ca00c465e41 100644
--- a/dart/lib/compiler/implementation/dart2js.dart
+++ b/dart/lib/compiler/implementation/dart2js.dart
@@ -128,8 +128,8 @@ void compile(List<String> argv) {
new OptionHandler('--minify', passThrough),
new OptionHandler('--cut-declaration-types', passThrough),
// TODO(ahe): Remove the --no-colors option.
- new OptionHandler('--no-colors', (_) => enableColors = false),
- new OptionHandler('--colors', (_) => enableColors = true),
+ new OptionHandler('--disable-diagnostic-colors', (_) => enableColors = false),
+ new OptionHandler('--enable-diagnostic-colors', (_) => enableColors = true),
new OptionHandler('--enable[_-]checked[_-]mode|--checked',
(_) => passThrough('--enable-checked-mode')),
new OptionHandler(@'--help|/\?|/h', (_) => wantHelp = true),
@@ -344,7 +344,7 @@ Supported options:
--suppress-warnings
Do not display any warnings.
- --colors
+ --enable-diagnostic-colors
Add colors to diagnostic messages.
The following options are only used for compiler development and may
« no previous file with comments | « AUTHORS ('k') | dart/pkg/dartdoc/bin/dartdoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698