@@ -54,10 +54,12 @@ can be built and run using these commands:
5454Alternative vet tools should be built atop golang.org/x/tools/go/analysis/unitchecker,
5555which handles the interaction with go vet.
5656
57- For more about specifying packages, see 'go help packages' .
58- For a list of checkers and their flags, see 'go tool vet help'.
57+ The default vet tool is 'go tool vet' or cmd/vet .
58+ For help on its checkers and their flags, run 'go tool vet help'.
5959For details of a specific checker such as 'printf', see 'go tool vet help printf'.
6060
61+ For more about specifying packages, see 'go help packages'.
62+
6163The build flags supported by go vet are those that control package resolution
6264and execution, such as -C, -n, -x, -v, -tags, and -toolexec.
6365For more about these flags, see 'go help build'.
@@ -71,7 +73,7 @@ var CmdFix = &base.Command{
7173 UsageLine : "go fix [build flags] [-fixtool prog] [fix flags] [packages]" ,
7274 Short : "apply fixes suggested by static checkers" ,
7375 Long : `
74- Fix runs the Go fix tool (cmd/vet ) on the named packages
76+ Fix runs the Go fix tool (cmd/fix ) on the named packages
7577and applies suggested fixes.
7678
7779It supports these flags:
@@ -80,15 +82,14 @@ It supports these flags:
8082 instead of applying each fix, print the patch as a unified diff
8183
8284The -fixtool=prog flag selects a different analysis tool with
83- alternative or additional fixes ; see the documentation for go vet's
85+ alternative or additional fixers ; see the documentation for go vet's
8486-vettool flag for details.
8587
86- For more about specifying packages, see 'go help packages' .
87-
88- For a list of fixers and their flags , see 'go tool fix help'.
88+ The default fix tool is 'go tool fix' or cmd/fix .
89+ For help on its fixers and their flags, run 'go tool fix help'.
90+ For details of a specific fixer such as 'hostport' , see 'go tool fix help hostport '.
8991
90- For details of a specific fixer such as 'hostport',
91- see 'go tool fix help hostport'.
92+ For more about specifying packages, see 'go help packages'.
9293
9394The build flags supported by go fix are those that control package resolution
9495and execution, such as -C, -n, -x, -v, -tags, and -toolexec.
0 commit comments