1
0
mirror of https://github.com/golang/go synced 2024-11-18 03:14:44 -07:00

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 <iant@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Ian Lance Taylor 2018-05-08 10:01:41 -07:00
parent 5b976d3783
commit 25858cce70
2 changed files with 2 additions and 2 deletions

View File

@ -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.
//

View File

@ -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.