]> Cypherpunks repositories - gostls13.git/commitdiff
remove superfluous tracing support
authorRobert Griesemer <gri@golang.org>
Tue, 20 Oct 2009 20:30:32 +0000 (13:30 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 20 Oct 2009 20:30:32 +0000 (13:30 -0700)
R=rsc
DELTA=5  (0 added, 4 deleted, 1 changed)
OCL=35930
CL=35930

src/cmd/gofmt/gofmt.go

index c751e0c3d9306cac7ff274e9fdc22932819bc6f9..3c9131de7b58a92bce84232ae7f0dd021b080832 100644 (file)
@@ -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;