diff options
Diffstat (limited to 'cmd/gotype/gotype.go')
-rw-r--r-- | cmd/gotype/gotype.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/gotype/gotype.go b/cmd/gotype/gotype.go index 22fe4aa9d..08b52057f 100644 --- a/cmd/gotype/gotype.go +++ b/cmd/gotype/gotype.go @@ -41,9 +41,11 @@ checking packages containing imports with relative import paths files to include for such packages. Usage: + gotype [flags] [path...] The flags are: + -t include local test files in a directory (ignored if -x is provided) -x @@ -56,6 +58,7 @@ The flags are: compiler used for installed packages (gc, gccgo, or source); default: source Flags controlling additional output: + -ast print AST (forces -seq) -trace @@ -81,7 +84,6 @@ cmd/compile: To verify the output of a pipe: echo "package foo" | gotype - */ package main |