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:
Tonz
2025-06-28 01:20:28 -07:00
parent 33f6e0296e
commit 08bdd85705
+1 -2
View File
@@ -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() {