]> Cypherpunks repositories - gostls13.git/commit
cmd/gofmt: remove -tabwidth and -tabs flags
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 14 Jan 2014 19:10:56 +0000 (11:10 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 14 Jan 2014 19:10:56 +0000 (11:10 -0800)
commit014f3dcc837cb6789076cff4fccaa3bd221f823e
tree2d8cd2c03d5fbd4cf37dee565c01c30db2465598
parent077faf28511232203177f2fa6199561a6231e431
cmd/gofmt: remove -tabwidth and -tabs flags

Having these flags misleads people into thinking they're acceptable
for code that "must be gofmt'd".

If an organization wishes to use gofmt internally with
different settings, they can fork gofmt trivially. But "gofmt"
as used by the community with open source Go code should not
support these old knobs.

Also removes the -comments flag.

Fixes #7101

R=r, gri
CC=golang-codereviews
https://golang.org/cl/52170043
src/cmd/gofmt/doc.go
src/cmd/gofmt/gofmt.go
src/cmd/gofmt/gofmt_test.go
src/cmd/gofmt/long_test.go