Skip to content
New issue

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

dev: silence help on some commands usage on error #4542

Merged
merged 1 commit into from Mar 19, 2024

Conversation

ldez
Copy link
Member

@ldez ldez commented Mar 19, 2024

Some help displays are huge (e.g. run), and so it's too big to be useful when an error occurs.

I silenced some verbose help commands.

// SilenceUsage is an option to silence usage when an error occurs.
SilenceUsage bool

@ldez ldez added enhancement New feature or improvement topic: cosmetic changes contain cosmetic improvements labels Mar 19, 2024
@ldez ldez added this to the next milestone Mar 19, 2024
@ldez ldez requested a review from alexandear March 19, 2024 19:33
@ldez ldez merged commit 1b6f006 into golangci:master Mar 19, 2024
13 checks passed
@ldez ldez deleted the feat/silence branch March 19, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement topic: cosmetic changes contain cosmetic improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants