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

Unified Diff: dart/pkg/dartdoc/bin/dartdoc.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 | « dart/lib/compiler/implementation/dart2js.dart ('k') | dart/utils/compiler/build_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/dartdoc/bin/dartdoc.dart
diff --git a/dart/pkg/dartdoc/bin/dartdoc.dart b/dart/pkg/dartdoc/bin/dartdoc.dart
index 662b62309286b408c5eff3c0a724735fc469d346..f74df7622b178e5d6511ee013d392ba13388ae30 100644
--- a/dart/pkg/dartdoc/bin/dartdoc.dart
+++ b/dart/pkg/dartdoc/bin/dartdoc.dart
@@ -79,6 +79,11 @@ main() {
dartdoc.linkToApi = true;
break;
+ // Hack to accept, but not use, colors option.
+ // This allows shared bash script to run dartdoc.
+ case '--enable-diagnostic-colors':
+ break;
+
default:
if (arg.startsWith('--out=')) {
dartdoc.outputDir =
« no previous file with comments | « dart/lib/compiler/implementation/dart2js.dart ('k') | dart/utils/compiler/build_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698