首页 文章

Scala REPL:在哪里可以找到特定命令的文档?

提问于
浏览
3

在scala REPL中,可以通过 :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
...

例如,我在哪里可以找到 :reset 命令的 [options] ?我试过了 :help reset

将repl重置为其初始状态,忘记所有会话条目

:help 中显示的相同,没那么有用

我正在使用Scala版本2.11.7

1 回答

相关问题