]> Cypherpunks repositories - gostls13.git/commit
Updated and simplified gofmt.
authorRobert Griesemer <gri@golang.org>
Tue, 20 Oct 2009 19:07:31 +0000 (12:07 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 20 Oct 2009 19:07:31 +0000 (12:07 -0700)
commit4213c22301118184c3d4323f856580e03b29c1f3
tree719dffea33bd5034f3bad8fe0bef5dd12d3d1de4
parentfcc4be8c656cec635640f0c390101a33f65cdd7c
Updated and simplified gofmt.
- operates on stdin, a single file, or all files in a file tree
- setting -w flag writes to (source) file instead of stdout
- setting -l flag lists files whose formatting has changed

R=rsc
DELTA=201  (102 added, 71 deleted, 28 changed)
OCL=35890
CL=35926
src/cmd/gofmt/gofmt.go
src/cmd/gofmt/test.sh