Skip to content

Commit 788a13d

Browse files
committed
Clarify -e != REPL but -howtorun has a repl option
1 parent 7da8ce2 commit 788a13d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/compiler/scala/tools/nsc/GenericRunnerCommand.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ Other startup options:
9494

9595
-i <file> preload <file> before starting the REPL
9696
-I <file> preload <file>, enforcing line-by-line interpretation
97-
-e <string> execute <string> as if entered in the REPL
97+
-e <string> execute <string> as if it were in a source file
9898
-save save the compiled script in a jar for future use
9999

100100
If the runner does not correctly guess how to run the target:
101101

102-
-howtorun what to run <script|object|jar|guess> (default: guess)
102+
-howtorun what to run <script|object|jar|repl|guess> (default: guess)
103103
%n"""
104104
}
105105

0 commit comments

Comments
 (0)