// doc show documentation for package or symbol
// env print Go environment information
// bug start a bug report
-// fix run go tool fix on packages
-// fmt run gofmt on package sources
+// fix update packages to use new APIs
+// fmt gofmt (reformat) package sources
// generate generate Go files by processing source
// get download and install packages and dependencies
// install compile and install packages and dependencies
// test test packages
// tool run specified go tool
// version print Go version
-// vet run go tool vet on packages
+// vet report likely mistakes in packages
//
// Use "go help [command]" for more information about a command.
//
// The report includes useful system information.
//
//
-// Run go tool fix on packages
+// Update packages to use new APIs
//
// Usage:
//
// See also: go fmt, go vet.
//
//
-// Run gofmt on package sources
+// Gofmt (reformat) package sources
//
// Usage:
//
// Version prints the Go version, as reported by runtime.Version.
//
//
-// Run go tool vet on packages
+// Report likely mistakes in packages
//
// Usage:
//
var CmdFix = &base.Command{
Run: runFix,
UsageLine: "fix [packages]",
- Short: "run go tool fix on packages",
+ Short: "update packages to use new APIs",
Long: `
Fix runs the Go fix command on the packages named by the import paths.
var CmdFmt = &base.Command{
Run: runFmt,
UsageLine: "fmt [-n] [-x] [packages]",
- Short: "run gofmt on package sources",
+ Short: "gofmt (reformat) package sources",
Long: `
Fmt runs the command 'gofmt -l -w' on the packages named
by the import paths. It prints the names of the files that are modified.
Run: runVet,
CustomFlags: true,
UsageLine: "vet [-n] [-x] [build flags] [vet flags] [packages]",
- Short: "run go tool vet on packages",
+ Short: "report likely mistakes in packages",
Long: `
Vet runs the Go vet command on the packages named by the import paths.