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
and arguments as -cfoo we see the following error value in v1.4.0:
err = {error | *kong.ParseError}
error = {error | *kong.unknownFlagError} unknown flag -f, did you mean one of "-h", "-c"?
Context = {*kong.Context | 0x140000e6680}
We are observing a behavior change with the new version v1.5.0. I am unsure whether it is intentional, hence creating this issue.
Given a CLI definition like following
and arguments as
-cfoo
we see the following error value inv1.4.0
:but there is no error reported with the
v1.5.0
.I reproduced the issue at oguzhand95/kong-reprod.
The main branch is
v1.4.0
and the PR updates the kong tov1.5.0
with failing tests.kong/context.go
Lines 436 to 444 in 96647c3
The text was updated successfully, but these errors were encountered: