aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2020-08-20 16:48:21 -0700
committerRobert Griesemer <gri@golang.org>2020-08-21 00:08:48 +0000
commitcbc0a7906cfb4c82f850d35ffdb7eb0d674cc9b1 (patch)
tree72473cf2b501414784f427e4dddbf336b03b881a /src
parente94544cf012535da6b3c9e735bc4026e2db1c99c (diff)
downloadgo-cbc0a7906cfb4c82f850d35ffdb7eb0d674cc9b1.tar.xz
go/types: update flag documentation for gotype command
The documentation refers to a non longer existing flag (-seq). Remove those references. Change-Id: I480b6259f9199b47761dc655a90911eabfe07427 Reviewed-on: https://go-review.googlesource.com/c/go/+/249738 Run-TryBot: Robert Griesemer <gri@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src')
-rw-r--r--src/go/types/gotype.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/go/types/gotype.go b/src/go/types/gotype.go
index 19dd702c45..eacf68f52f 100644
--- a/src/go/types/gotype.go
+++ b/src/go/types/gotype.go
@@ -48,9 +48,9 @@ The flags are:
Flags controlling additional output:
-ast
- print AST (forces -seq)
+ print AST
-trace
- print parse trace (forces -seq)
+ print parse trace
-comments
parse comments (ignored unless -ast or -trace is provided)
-panic
@@ -104,8 +104,8 @@ var (
compiler = flag.String("c", "source", "compiler used for installed packages (gc, gccgo, or source)")
// additional output control
- printAST = flag.Bool("ast", false, "print AST (forces -seq)")
- printTrace = flag.Bool("trace", false, "print parse trace (forces -seq)")
+ printAST = flag.Bool("ast", false, "print AST")
+ printTrace = flag.Bool("trace", false, "print parse trace")
parseComments = flag.Bool("comments", false, "parse comments (ignored unless -ast or -trace is provided)")
panicOnError = flag.Bool("panic", false, "panic on first error")
)