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

Unified Diff: utils/template/tool.dart

Issue 46673003: Remove uses of Options from utils directory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 | « utils/css/tool.dart ('k') | utils/testrunner/http_server_runner.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/template/tool.dart
diff --git a/utils/template/tool.dart b/utils/template/tool.dart
index 59a8462f9826219b86d3598f5d0c5cb4ffa9ea9d..8b075eefbd8c6bb367ffe6d8b8eeb892876ac115 100644
--- a/utils/template/tool.dart
+++ b/utils/template/tool.dart
@@ -31,11 +31,9 @@ printStats(String phase, num elapsed, [String filename = '']) {
/**
* Run from the `utils/css` directory.
*/
-void main() {
+void main(List<String> optionArgs) {
// argument 0 - sourcefile full path
// argument 1 - outputfile full path
- var optionArgs = new Options().arguments;
-
String sourceFullFn = optionArgs[0];
String outputFullFn = optionArgs[1];
« no previous file with comments | « utils/css/tool.dart ('k') | utils/testrunner/http_server_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698