aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2022-06-16 22:58:29 -0700
committerGitHub <noreply@github.com>2022-06-16 22:58:29 -0700
commitd28f8bb88fcc016a51cfb52caea62fb271720747 (patch)
tree9f8ae4b996dfc1f0968179b1d49dfefa2a19d935
parent625fd16a2e5eb676e8c9eaa0268f78246c69b1ef (diff)
parentc7c20881f5543e9ab2f413d32ad2943c3d1c4828 (diff)
downloadseaweedfs-d28f8bb88fcc016a51cfb52caea62fb271720747.tar.xz
seaweedfs-d28f8bb88fcc016a51cfb52caea62fb271720747.zip
Merge pull request #3192 from guol-fnst/weed_update
remove "weed" from UsageLine, or weed will not show usage of weed update
-rw-r--r--weed/command/update.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/update.go b/weed/command/update.go
index 8e0a76016..2d0dc42ad 100644
--- a/weed/command/update.go
+++ b/weed/command/update.go
@@ -75,7 +75,7 @@ func init() {
}
var cmdUpdate = &Command{
- UsageLine: "weed update -dir=/path/to/dir -name=name -version=x.xx",
+ UsageLine: "update [-dir=/path/to/dir] [-name=name] [-version=x.xx]",
Short: "get latest or specific version from https://github.com/chrislusf/seaweedfs",
Long: `get latest or specific version from https://github.com/chrislusf/seaweedfs`,
}