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
Describe the bug
Show the errors and not the command help if the arguments are missing or correct and the runtime throws.
To Reproduce
Steps to reproduce the behavior:
Stop your minikube (or whatever k8s you use)
Start murre
See the command help instead of the actual error
Expected behavior
The actual exception should be reported to the output: showing the command arguments help is misleading when there is no usage error in the command line itself!
The text was updated successfully, but these errors were encountered:
iferr:=myCommand.Execute(); err!=nil {
// There was an error! Print the error message and exit. Or do whatever you'd like!// This includes errors like "invalid argument" etc.fmt.Println(err)
os.Exit(1)
}
giuliohome
added a commit
to giuliohome/murre
that referenced
this issue
Dec 9, 2022
Describe the bug
Show the errors and not the command help if the arguments are missing or correct and the runtime throws.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The actual exception should be reported to the output: showing the command arguments help is misleading when there is no usage error in the command line itself!
The text was updated successfully, but these errors were encountered: