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

Unified Diff: pkg/csslib/lib/css.dart

Issue 52573002: Remove uses of Options from pkg, samples, tests, and third_party directories. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Edit comment Created 7 years, 2 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/args/lib/args.dart ('k') | pkg/csslib/test/run_all.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/csslib/lib/css.dart
diff --git a/pkg/csslib/lib/css.dart b/pkg/csslib/lib/css.dart
index 92070ad065bd0fae1241c71298e2c85fe892bb0d..2d94e5c334cb768c24f2912fdceac9c7f1c31085 100644
--- a/pkg/csslib/lib/css.dart
+++ b/pkg/csslib/lib/css.dart
@@ -14,9 +14,9 @@ import 'visitor.dart';
import 'src/messages.dart';
import 'src/options.dart';
-void main() {
+void main(List<String> arguments) {
// TODO(jmesserly): fix this to return a proper exit code
- var options = PreprocessorOptions.parse(new Options().arguments);
+ var options = PreprocessorOptions.parse(arguments);
if (options == null) return;
messages = new Messages(options: options);
« no previous file with comments | « pkg/args/lib/args.dart ('k') | pkg/csslib/test/run_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698