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

x/tools/gopls: improve output for subcommands with no flags #43447

Open
ainar-g opened this issue Dec 31, 2020 · 0 comments
Open

x/tools/gopls: improve output for subcommands with no flags #43447

ainar-g opened this issue Dec 31, 2020 · 0 comments

Comments

@ainar-g
Copy link
Contributor

@ainar-g ainar-g commented Dec 31, 2020

Currently (golang/tools@6375436), the output of gopls check -h looks like this:

show diagnostic results for the specified file

Usage: check [flags] <filename>

Example: show the diagnostic results of this file:

  $ gopls check internal/lsp/cmd/check.go

	gopls check flags are:

That is, no flags are documented. If gopls check actually has flags, they should probably be documented, and if not, the output should probably not mention them at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.