Reputation: 3512
In scala REPL, one can show available commands by :help
scala> :help
All commands can be abbreviated, e.g., :he instead of :help.
...
:help [command] print this summary or command-specific help
...
...
:reset [options] reset the repl to its initial state, forgetting all session entries
...
For instance, where can I find the [options]
of :reset
command?
I tried :help reset
which gives
reset the repl to its initial state, forgetting all session entries
which is same as those shown in :help
, not so helpful
I'm using Scala version 2.11.7
Upvotes: 3
Views: 369
Reputation: 4256
Though it's not a full documentation, this conversation points out how to use reset
/replay
commands:
https://github.com/scala/scala/pull/3986
Upvotes: 1