We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show an error message "unknown
Displays the error message "unknown flag" and a stringified json in the end of output.
The text was updated successfully, but these errors were encountered:
@cxlucas also reproduced this problem when using unknown commands, as can be seen on following image:
Sorry, something went wrong.
fix(log): unwanted json log when using unknown flag/command (#2967) (#…
88a5703
…2983) * Removed log from unknown flag or command, since it happens before logger is set Signed-off-by: Felipe Avelar <[email protected]>
If a flag must have arguments, but not receives, it will reproduce the bug, e.g.: go run ./cmd/console/main.go scan -p valid_path --fail-on
go run ./cmd/console/main.go scan -p valid_path --fail-on
felipe-avelar
Successfully merging a pull request may close this issue.
Expected Behavior
Show an error message "unknown
Actual Behavior
Displays the error message "unknown flag" and a stringified json in the end of output.
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: