From: Robert Griesemer Date: Tue, 20 Oct 2009 20:30:32 +0000 (-0700) Subject: remove superfluous tracing support X-Git-Tag: weekly.2009-11-06~246 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f591591a28bd715e79e4ff1270a8a5dcea22bfc2;p=gostls13.git remove superfluous tracing support R=rsc DELTA=5 (0 added, 4 deleted, 1 changed) OCL=35930 CL=35930 --- diff --git a/src/cmd/gofmt/gofmt.go b/src/cmd/gofmt/gofmt.go index c751e0c3d9..3c9131de7b 100644 --- a/src/cmd/gofmt/gofmt.go +++ b/src/cmd/gofmt/gofmt.go @@ -25,7 +25,7 @@ var ( // debugging support comments = flag.Bool("comments", true, "print comments"); - trace = flag.Bool("trace", false, "print names of processed files to stderr and parse traces to stdout"); + trace = flag.Bool("trace", false, "print parse trace"); // layout control align = flag.Bool("align", true, "align columns"); @@ -80,10 +80,6 @@ func isGoFile(d *os.Dir) bool { func processFile(filename string) os.Error { - if *trace { - fmt.Fprintln(os.Stderr, filename); - } - src, err := io.ReadFile(filename); if err != nil { return err;