1
0
mirror of https://github.com/golang/go synced 2024-11-12 07:40:23 -07:00

remove superfluous tracing support

R=rsc
DELTA=5  (0 added, 4 deleted, 1 changed)
OCL=35930
CL=35930
This commit is contained in:
Robert Griesemer 2009-10-20 13:30:32 -07:00
parent 357b770def
commit f591591a28

View 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;