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

Unified Diff: utils/testrunner/http_server_runner.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/template/tool.dart ('k') | utils/testrunner/options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/testrunner/http_server_runner.dart
diff --git a/utils/testrunner/http_server_runner.dart b/utils/testrunner/http_server_runner.dart
index 4bf4e67e744a4c0fa0bc82de400a7a0c15cc4cbf..bfc6db14f1a00d2f45c09e9cfb65f5d4c7ad4cca 100644
--- a/utils/testrunner/http_server_runner.dart
+++ b/utils/testrunner/http_server_runner.dart
@@ -6,10 +6,10 @@ library http_server_runner;
import 'dart:io';
import 'http_server.dart';
-main() {
+main(List<String> arguments) {
var optionsParser = getOptionParser();
try {
- var argResults = optionsParser.parse(new Options().arguments);
+ var argResults = optionsParser.parse(arguments);
var server = new HttpTestServer(
int.parse(argResults['port']),
argResults['root']);
« no previous file with comments | « utils/template/tool.dart ('k') | utils/testrunner/options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698