diff options
| author | Stefan Majewsky <stefan.majewsky@sap.com> | 2017-08-31 14:07:50 +0200 |
|---|---|---|
| committer | Stefan Majewsky <stefan.majewsky@sap.com> | 2017-08-31 14:07:50 +0200 |
| commit | f21e618d80c806c421b2072084d223b3780b6feb (patch) | |
| tree | 71ca8ab03030df73a877f3186b0a2ae39f2b1774 | |
| parent | b67fb0aa9a97ff89db50ab3c5c8d207414299524 (diff) | |
| download | gofu-f21e618d80c806c421b2072084d223b3780b6feb.tar.gz | |
remove unnecessary parentheses
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | pkg/rtree/index.go | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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"}, ) |
