Expose --dry-run in Scala.