aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/command.go2
-rw-r--r--weed/command/update.go6
2 files changed, 5 insertions, 3 deletions
diff --git a/weed/command/command.go b/weed/command/command.go
index b16de3eba..7635405dc 100644
--- a/weed/command/command.go
+++ b/weed/command/command.go
@@ -37,8 +37,8 @@ var Commands = []*Command{
cmdScaffold,
cmdServer,
cmdShell,
- cmdUpload,
cmdUpdate,
+ cmdUpload,
cmdVersion,
cmdVolume,
cmdWebDav,
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 {