-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: document the meaning of solitary "command-line-arguments" #36043
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
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I can reproduce on tip da4d585 and 1.13.5 and 1.12.14. Does not repo on 1.11.13
cc @heschik |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This is coming from the @bcmills, @jayconrod will know better but I think this is supposed to fail and instead is outputting a dummy value. |
Confirming that this is a dummy value. It's the name of the main module when the go command runs in module mode outside a module (no go.mod file and Perhaps it should be an error instead? |
The reason I chose that for The module name |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
and look for "command-line-arguments" in documentation and the source tree.
What did you expect to see?
An explanation of the significance of the output.
What did you see instead?
Crickets (though also some bread crumbs in the source and commit messages).
It would be nice if the meaning were properly documented.
The text was updated successfully, but these errors were encountered: