A problem with options parsing due to half-way converting from RunnerFlags

Cleans up the usage message for cmdline parsing, and passes the
object CompilerOptions (and friends) around instead of the array
of command line arguments.

Review URL: https://chromereviews.googleplex.com/3565012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@187 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
zundel@google.com
2011-10-07 00:56:18 +00:00
parent 338a9b507a
commit b5b46da81c
10 changed files with 86 additions and 122 deletions
@@ -5,7 +5,6 @@
package com.google.dart.runner;
import java.io.PrintStream;
import java.util.Set;
/**
* @author floitsch@google.com (Florian Loitsch)
@@ -13,7 +12,7 @@ import java.util.Set;
*/
interface JavaScriptLauncher {
void execute(String jsScript, String sourceName, String[] args, Set<RunnerFlag> flags,
void execute(String jsScript, String sourceName, String[] args, RunnerOptions flags,
PrintStream stdout, PrintStream stderr)
throws RunnerError;