go/packages: fix the gopackages command
It got broken when we renamed all the modes, and because it is just an example binary it is not testsed. Change-Id: Ia6608af574d0abebb4fe0d967e1bed88af6563bd Reviewed-on: https://go-review.googlesource.com/125937 Run-TryBot: Ian Cottrell <iancottrell@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Michael Matloob <matloob@golang.org>
This commit is contained in:
parent
b1e4acd68a
commit
475b7a1e12
|
@ -28,7 +28,7 @@ import (
|
|||
var (
|
||||
depsFlag = flag.Bool("deps", false, "show dependencies too")
|
||||
testFlag = flag.Bool("test", false, "include any tests implied by the patterns")
|
||||
mode = flag.String("mode", "graph", "mode (one of metadata, graph, typed, alltyped)")
|
||||
mode = flag.String("mode", "imports", "mode (one of files, imports, types, syntax, allsyntax)")
|
||||
private = flag.Bool("private", false, "show non-exported declarations too")
|
||||
|
||||
cpuprofile = flag.String("cpuprofile", "", "write CPU profile to this file")
|
||||
|
|
Loading…
Reference in New Issue