1
0
mirror of https://github.com/golang/go synced 2024-11-06 12:26:11 -07:00
go/cmd/gorename
Alan Donovan 108b52ee61 cmd/gorename: -d flag prints diffs instead of rewriting files
The user may specify the diff tool using the -diffcmd flag.

+ test.

Also:
- eliminate redundant DryRun flag
- simplify Verbose messages using log.SetPrefix

Fixes issue #13355

Change-Id: I917edc73e31ddf0f5d5b9b30c43f826465529da1
Reviewed-on: https://go-review.googlesource.com/18208
Reviewed-by: Michael Matloob <matloob@golang.org>
2015-12-30 15:25:00 +00:00
..
main.go cmd/gorename: -d flag prints diffs instead of rewriting files 2015-12-30 15:25:00 +00:00