Merge pull request #3192 from guol-fnst/weed_update

remove "weed" from UsageLine, or weed will not show usage of weed update
This commit is contained in:
Chris Lu 2022-06-16 22:58:29 -07:00 committed by GitHub
commit d28f8bb88f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,7 +75,7 @@ func init() {
} }
var cmdUpdate = &Command{ 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", Short: "get latest or specific version from https://github.com/chrislusf/seaweedfs",
Long: `get latest or specific version from https://github.com/chrislusf/seaweedfs`, Long: `get latest or specific version from https://github.com/chrislusf/seaweedfs`,
} }