diff options
Diffstat (limited to 'sources/scalac/CompilerCommand.java')
-rw-r--r-- | sources/scalac/CompilerCommand.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sources/scalac/CompilerCommand.java b/sources/scalac/CompilerCommand.java index 5b87d72b46..3eb8a1d117 100644 --- a/sources/scalac/CompilerCommand.java +++ b/sources/scalac/CompilerCommand.java @@ -40,7 +40,7 @@ public class CompilerCommand extends CommandParser { public final BooleanOptionParser uniqid; public final BooleanOptionParser types; public final BooleanOptionParser prompt; - public final BooleanOptionParser separate; + public final ChoiceOptionParser separate; //public final OptimizeOptionParser optimize; public final StringOptionParser classpath; public final StringOptionParser sourcepath; @@ -109,9 +109,9 @@ public class CompilerCommand extends CommandParser { "prompt", "Display a prompt after each error (debugging option)", false), - this.separate = new BooleanOptionParser(this, - "separate", "read symbol files for separate compilation", - false), + this.separate = new ChoiceOptionParser(this, + "separate", "read symbol files for separate compilation: (yes, no)", + "separate", new String[]{"yes", "no"}, "default"), //this.optimize = new OptimizeOptionParser(this, // "optimize", "optimize bytecode (-optimize:help for option list)", |