I agree but I'm not defining the syntax merely documenting it. :)
It's done by the launcher which has it's syntax defined here: http://www.scala-sbt.org/0.13.0-SNAPSHOT/docs/Detailed-Topics/Launcher.html (search for `resources`).