remove "weed" from UsageLine, or weed will not show usage of weed update

This commit is contained in:
guol-fnst 2022-06-17 12:40:54 +08:00
parent cd078471c4
commit c7c20881f5

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`,
} }