зеркало из https://github.com/golang/tools.git
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:
Родитель
f53a5581bc
Коммит
5b9ecb9f68
|
@ -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".
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче