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']); |