forked from SteamWar/SteamWar
Format code
This commit is contained in:
@@ -11,7 +11,7 @@ import com.github.ajalt.clikt.parameters.types.int
|
||||
|
||||
const val SPARK = "/jars/spark.jar"
|
||||
|
||||
class ProfilerCommand: CliktCommand("profiler") {
|
||||
class ProfilerCommand : CliktCommand("profiler") {
|
||||
val pid by argument().help("Process id").int().optional()
|
||||
val port by option("--port", "-p").int().default(8543)
|
||||
|
||||
@@ -38,5 +38,6 @@ class ProfilerCommand: CliktCommand("profiler") {
|
||||
}
|
||||
}
|
||||
|
||||
override fun help(context: Context): String = "Start a profiler"
|
||||
override fun help(context: Context): String =
|
||||
"Start a profiler"
|
||||
}
|
||||
Reference in New Issue
Block a user