mirror of
https://github.com/processing/processing4.git
synced 2026-06-16 04:26:26 +02:00
Still pass help as an argument so that Commander help is shown. (Remove clikt help message which is canceled by val help anyway).
This commit is contained in:
@@ -63,8 +63,7 @@ class LSP: SuspendingCliktCommand("lsp"){
|
||||
class LegacyCLI(val args: Array<String>): SuspendingCliktCommand("cli") {
|
||||
override val treatUnknownOptionsAsArgs = true
|
||||
|
||||
override fun help(context: Context) = "Legacy processing-java command line interface"
|
||||
|
||||
val help by option("--help").flag()
|
||||
val arguments by argument().multiple(default = emptyList())
|
||||
|
||||
override suspend fun run() {
|
||||
|
||||
Reference in New Issue
Block a user