mirror of
https://github.com/golang/go
synced 2024-09-15 22:20:06 +00:00
cmd/go: update go clean help message
Update the help message for the go clean command to include
the correct usage and flags for better clarity.
This change follows instructions by Ian on this thread <https://groups.google.com/g/golang-nuts/c/VENQ0fqLCSc/m/qO8EuawVBwAJ?pli=1>.
Change-Id: Ia509a38ee9ec7c31d384c3563535c5e3ccd9a9ce
GitHub-Last-Rev: 3048b2e4bd
GitHub-Pull-Request: golang/go#68135
Reviewed-on: https://go-review.googlesource.com/c/go/+/593639
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Commit-Queue: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
This commit is contained in:
parent
cdbf5f2f7e
commit
d3c93f2f00
|
@ -276,7 +276,7 @@
|
|||
//
|
||||
// Usage:
|
||||
//
|
||||
// go clean [clean flags] [build flags] [packages]
|
||||
// go clean [-i] [-r] [-cache] [-testcache] [-modcache] [-fuzzcache] [build flags] [packages]
|
||||
//
|
||||
// Clean removes object files from package source directories.
|
||||
// The go command builds most objects in a temporary directory,
|
||||
|
|
|
@ -28,7 +28,7 @@ import (
|
|||
)
|
||||
|
||||
var CmdClean = &base.Command{
|
||||
UsageLine: "go clean [clean flags] [build flags] [packages]",
|
||||
UsageLine: "go clean [-i] [-r] [-cache] [-testcache] [-modcache] [-fuzzcache] [build flags] [packages]",
|
||||
Short: "remove object files and cached files",
|
||||
Long: `
|
||||
Clean removes object files from package source directories.
|
||||
|
|
Loading…
Reference in a new issue