]> Cypherpunks repositories - gostls13.git/commitdiff
go/types: update flag documentation for gotype command
authorRobert Griesemer <gri@golang.org>
Thu, 20 Aug 2020 23:48:21 +0000 (16:48 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 21 Aug 2020 00:08:48 +0000 (00:08 +0000)
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>
src/go/types/gotype.go

index 19dd702c451929a36681d7577f806f1a139a2240..eacf68f52f253924100fe7ecd29106f2165eda87 100644 (file)
@@ -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")
 )