You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report! I'll make a new release one Kotlin 1.5.30 is out. In the mean time, you can use a snapshot build to see if the fix works for you.
I have a
CliktCommand(allowMultipleSubcommands = true)
neither the parent CliktCommand nor any of its sub-commands define any
by argument()
things at all.if I now call my App with args e.g.:
bootstrap-infra first bootstrap-k3s 'second' 'third fourth' 'fifth'
I'd expect the App to complain that there is no command first or second or ...
but these args are silently eaten up by Clikt without complaining anywhere.
(so if a user just forgot to prefix an optional opt with '--' it will now just silently be ignored)
even if I have all sub-commands with
CliktCommand(printHelpOnEmptyArgs = true)
bootstrap-infra bootstrap-k3s eins "zwei drei" vier'
does not issue any error or the help.
Is that intentional or am I missing something?
The text was updated successfully, but these errors were encountered: