From: Ian Lance Taylor Date: Tue, 8 May 2018 17:01:41 +0000 (-0700) Subject: cmd/go: add -test to go list usage line X-Git-Tag: go1.11beta1~486 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=25858cce7044479f86f9ab4e03aa7b034aa53874;p=gostls13.git cmd/go: add -test to go list usage line Change-Id: Ia57f0ef1a3bdeb06346e175d67979e2a4512622d Reviewed-on: https://go-review.googlesource.com/112160 Run-TryBot: Ian Lance Taylor Reviewed-by: Brad Fitzpatrick TryBot-Result: Gobot Gobot --- diff --git a/src/cmd/go/alldocs.go b/src/cmd/go/alldocs.go index 6832203f35..fa0d57f16b 100644 --- a/src/cmd/go/alldocs.go +++ b/src/cmd/go/alldocs.go @@ -579,7 +579,7 @@ // // Usage: // -// go list [-deps] [-e] [-f format] [-json] [build flags] [packages] +// go list [-deps] [-e] [-f format] [-json] [-test] [build flags] [packages] // // List lists the packages named by the import paths, one per line. // diff --git a/src/cmd/go/internal/list/list.go b/src/cmd/go/internal/list/list.go index 2747706806..4cd9846ce4 100644 --- a/src/cmd/go/internal/list/list.go +++ b/src/cmd/go/internal/list/list.go @@ -23,7 +23,7 @@ import ( ) var CmdList = &base.Command{ - UsageLine: "list [-deps] [-e] [-f format] [-json] [build flags] [packages]", + UsageLine: "list [-deps] [-e] [-f format] [-json] [-test] [build flags] [packages]", Short: "list packages", Long: ` List lists the packages named by the import paths, one per line.