Tracking down documentation

Greetings all!

I have looked for quite awhile, and the only reference I can find to getting verbose output out of go install is Can I get ANY debug output from the go install command? - #2 by petrus

Further, I cannot find any reference for those “build flags” (see Go Modules Reference - The Go Programming Language) outside of the example shown in the forum post above.

go help and go help install don’t mention them. No man entry for go. Closest I could find was wiki audean com/go/buildflags, but that’s go build and doesn’t cover -x or -n.

Where did the information in that post come from?

go install -v -n -a
go install -v -x -a

Thanks!

go help install starts with this.

usage: go install [build flags] [packages]

And near the end says this.

For more about build flags, see 'go help build'.

go help build includes info about the a, -n, -v, and -x flags.

        -a
                force rebuilding of packages that are already up-to-date.
        -n
                print the commands but do not run them.
        -v
                print the names of packages as they are compiled.
        -x
                print the commands.