Skip to content

Commit 08bdd85

Browse files
committed
Still pass help as an argument so that Commander help is shown. (Remove clikt help message which is canceled by val help anyway).
1 parent 33f6e02 commit 08bdd85

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/src/processing/app/Processing.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ class LSP: SuspendingCliktCommand("lsp"){
6363
class LegacyCLI(val args: Array<String>): SuspendingCliktCommand("cli") {
6464
override val treatUnknownOptionsAsArgs = true
6565

66-
override fun help(context: Context) = "Legacy processing-java command line interface"
67-
66+
val help by option("--help").flag()
6867
val arguments by argument().multiple(default = emptyList())
6968

7069
override suspend fun run() {

0 commit comments

Comments
 (0)