-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/go: missing flags in help output for tool #71502
Labels
Documentation
Issues describing a change to documentation.
GoCommand
cmd/go
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
Comments
There are some additional flags:
|
I'll take a crack at this unless someone else would prefer to do it themselves. (I have a couple of related small WIP doc & help CLs for the new |
Change https://go.dev/cl/648577 mentions this issue: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Documentation
Issues describing a change to documentation.
GoCommand
cmd/go
NeedsFix
The path to resolution is known, but the work has not been done.
Go version
latest
Output of
go env
in your module/workspace:What did you do?
go help tool
What did you see happen?
No mention of
-modfile
What did you expect to see?
Available flags are documented. Given the issues around default modfile sharing with the tools and the main project, using alternative mod files is likely to be very common. Documenting the flags available will ensure users do not reach to weird workarounds rather than just do
-modfile=tools/go.mod
or similar.The text was updated successfully, but these errors were encountered: