diff options
author | Som Snytt <som.snytt@gmail.com> | 2014-01-07 20:34:53 -0800 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2014-01-07 20:34:53 -0800 |
commit | 77a66d35254119ecb26e7cfbb0f5d75fd2480eaf (patch) | |
tree | da4ddb46d590abbc8d47a4431564aa53046a9a30 /src/compiler/scala/tools/nsc/plugins | |
parent | 527fd9aea58cf5c1b8f638d0321a8d0947d2916a (diff) | |
download | scala-77a66d35254119ecb26e7cfbb0f5d75fd2480eaf.tar.gz scala-77a66d35254119ecb26e7cfbb0f5d75fd2480eaf.tar.bz2 scala-77a66d35254119ecb26e7cfbb0f5d75fd2480eaf.zip |
SI-4841 CLI help update for -Xplugin
The argument to `-Xplugin` is now a comma-separated list of paths.
This commit updates the option descriptor and a code comment.
Diffstat (limited to 'src/compiler/scala/tools/nsc/plugins')
-rw-r--r-- | src/compiler/scala/tools/nsc/plugins/Plugin.scala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/plugins/Plugin.scala b/src/compiler/scala/tools/nsc/plugins/Plugin.scala index 183752d4a2..7837f9a11a 100644 --- a/src/compiler/scala/tools/nsc/plugins/Plugin.scala +++ b/src/compiler/scala/tools/nsc/plugins/Plugin.scala @@ -126,10 +126,11 @@ object Plugin { } /** Load all plugins specified by the arguments. - * Each of `jars` must be a valid plugin archive or exploded archive. + * Each location of `paths` must be a valid plugin archive or exploded archive. + * Each of `paths` must define one plugin. * Each of `dirs` may be a directory containing arbitrary plugin archives. * Skips all plugins named in `ignoring`. - * A single classloader is created and used to load all of them. + * A classloader is created to load each plugin. */ def loadAllFrom( paths: List[List[Path]], |