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

cmd/go: imprecise get documentation #7807

Closed
dvyukov opened this issue Apr 17, 2014 · 5 comments
Closed

cmd/go: imprecise get documentation #7807

dvyukov opened this issue Apr 17, 2014 · 5 comments

Comments

@dvyukov
Copy link
Member

dvyukov commented Apr 17, 2014

$ go help get
usage: go get [-d] [-fix] [-t] [-u] [build flags] [packages]
...
Get also accepts all the flags in the 'go build' and 'go install' commands,
to control the installation. See 'go help build'.
...

get does not accept -o 'go build' flag. 'go install' docs are more precise in this
regard, they refer to 'build flags' which do not include -o.

Moreover, 'go install' does not have own flags, so reference to 'go install' flags looks
confusing ('go install' merely redirects to 'go build' for flags description).

I think 'go help get' must say something along the lines of:

Get also accepts build flags to control the build. See 'go help build'.
@dvyukov
Copy link
Member Author

dvyukov commented Apr 17, 2014

Comment 1:

Labels changed: added repo-main, documentation.

@ianlancetaylor
Copy link
Contributor

Comment 2:

Labels changed: added release-go1.3maybe.

@rsc
Copy link
Contributor

rsc commented May 9, 2014

Comment 3:

Status changed to Started.

@gopherbot
Copy link

Comment 4:

CL https://golang.org/cl/99130043 mentions this issue.

@rsc
Copy link
Contributor

rsc commented May 9, 2014

Comment 5:

This issue was closed by revision 0f52fdb.

Status changed to Fixed.

@rsc rsc added this to the Go1.3 milestone Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 25, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants