From f21e618d80c806c421b2072084d223b3780b6feb Mon Sep 17 00:00:00 2001 From: Stefan Majewsky Date: Thu, 31 Aug 2017 14:07:50 +0200 Subject: remove unnecessary parentheses --- README.md | 2 +- pkg/rtree/index.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4fbee32..f3fb961 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ entry is missing, the user will be prompted about what to do: ``` $ rtree index repository /x/src/github.com/Masterminds/sprig has been deleted - [r] (r)estore from https://github.com/Masterminds/sprig + [r] restore from https://github.com/Masterminds/sprig [d] delete from index [s] skip ``` diff --git a/pkg/rtree/index.go b/pkg/rtree/index.go index 88e8b2d..ad53bbd 100644 --- a/pkg/rtree/index.go +++ b/pkg/rtree/index.go @@ -162,7 +162,7 @@ func (i *Index) Rebuild() error { } else { selection, err = cli.Interface.Query( fmt.Sprintf("repository %s has been deleted", filepath.Join(RootPath, repo.CheckoutPath)), - cli.Choice{Return: "r", Shortcut: 'r', Text: "(r)estore from " + strings.Join(remoteURLs, " and ")}, + cli.Choice{Return: "r", Shortcut: 'r', Text: "restore from " + strings.Join(remoteURLs, " and ")}, cli.Choice{Return: "d", Shortcut: 'd', Text: "delete from index"}, cli.Choice{Return: "s", Shortcut: 's', Text: "skip"}, ) -- cgit v1.3.1