• Brad Fitzpatrick's avatar
    cmd/gofmt: remove -tabwidth and -tabs flags · 014f3dcc
    Brad Fitzpatrick authored
    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
    014f3dcc
Name
Last commit
Last update
..
testdata Loading commit data...
doc.go Loading commit data...
gofmt.go Loading commit data...
gofmt_test.go Loading commit data...
long_test.go Loading commit data...
rewrite.go Loading commit data...
simplify.go Loading commit data...