1
0
mirror of https://github.com/golang/go synced 2024-11-18 11:14:39 -07:00

rename/refactor: fix typo in gorename usage message

Fixes issue #12981

Change-Id: I5faf8534153b13b967ce5d8da4d56bdd2bb4c501
Reviewed-on: https://go-review.googlesource.com/16053
Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
Alan Donovan 2015-10-19 10:00:53 -04:00
parent f53a5581bc
commit 5b9ecb9f68

View File

@ -96,11 +96,11 @@ anything else that could cause the resulting program not to compile.
Examples:
% gorename -offset file.go:#123 -to foo
$ gorename -offset file.go:#123 -to foo
Rename the object whose identifier is at byte offset 123 within file file.go.
% gorename -from \"bytes\".Buffer.Len' -to Size
$ gorename -from '"bytes".Buffer.Len' -to Size
Rename the "Len" method of the *bytes.Buffer type to "Size".