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.

Committed: https://code.google.com/p/dart/source/detail?r=187

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@189 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
zundel@google.com
2011-10-07 02:05:19 +00:00
parent 5d45b72a3a
commit 909ba0d3a7
10 changed files with 99 additions and 112 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;