From 5b9ecb9f68e2e1be33b663895c700aac9726378e Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Mon, 19 Oct 2015 10:00:53 -0400 Subject: [PATCH] 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 --- refactor/rename/rename.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/refactor/rename/rename.go b/refactor/rename/rename.go index a028c21b0e..8eef4f42b4 100644 --- a/refactor/rename/rename.go +++ b/refactor/rename/rename.go @@ -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".