aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Majewsky <stefan.majewsky@sap.com>2017-08-31 14:07:50 +0200
committerStefan Majewsky <stefan.majewsky@sap.com>2017-08-31 14:07:50 +0200
commitf21e618d80c806c421b2072084d223b3780b6feb (patch)
tree71ca8ab03030df73a877f3186b0a2ae39f2b1774
parentb67fb0aa9a97ff89db50ab3c5c8d207414299524 (diff)
downloadgofu-f21e618d80c806c421b2072084d223b3780b6feb.tar.gz
remove unnecessary parentheses
-rw-r--r--README.md2
-rw-r--r--pkg/rtree/index.go2
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"},
)