aboutsummaryrefslogtreecommitdiff
path: root/weed/command/update.go
diff options
context:
space:
mode:
authorguol-fnst <goul-fnst@fujitsu.com>2022-06-14 19:10:54 +0800
committerguol-fnst <goul-fnst@fujitsu.com>2022-06-14 19:10:54 +0800
commit78fc9cdfa0cdd973d68be432cdcefb804ae5b723 (patch)
treee31891aaf9f169c0332aa917538f0a127bd30452 /weed/command/update.go
parent322dbcf372d75f144b01a17b2a19195fe43b038a (diff)
downloadseaweedfs-78fc9cdfa0cdd973d68be432cdcefb804ae5b723.tar.xz
seaweedfs-78fc9cdfa0cdd973d68be432cdcefb804ae5b723.zip
add "copied from https://github.com/restic/restic/tree/master/internal/selfupdate"
Diffstat (limited to 'weed/command/update.go')
-rw-r--r--weed/command/update.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/weed/command/update.go b/weed/command/update.go
index bda904a85..64a664923 100644
--- a/weed/command/update.go
+++ b/weed/command/update.go
@@ -25,6 +25,8 @@ import (
"golang.org/x/net/context/ctxhttp"
)
+//copied from https://github.com/restic/restic/tree/master/internal/selfupdate
+
// Release collects data about a single release on GitHub.
type Release struct {
Name string `json:"name"`
@@ -59,8 +61,8 @@ func init() {
var cmdUpdate = &Command{
UsageLine: "update [-output=weed]",
- Short: "get latest stable version from https://github.com/chrislusf/seaweedfs",
- Long: `get latest stable version from https://github.com/chrislusf/seaweedfs`,
+ Short: "get latest version from https://github.com/chrislusf/seaweedfs",
+ Long: `get latest version from https://github.com/chrislusf/seaweedfs`,
}
func runUpdate(cmd *Command, args []string) bool {