diff options
| author | guol-fnst <goul-fnst@fujitsu.com> | 2022-06-17 12:40:54 +0800 |
|---|---|---|
| committer | guol-fnst <goul-fnst@fujitsu.com> | 2022-06-17 12:47:04 +0800 |
| commit | c7c20881f5543e9ab2f413d32ad2943c3d1c4828 (patch) | |
| tree | b84382cfa57e0aa385fad9f03d0c6e07cc9476a7 /weed/command | |
| parent | cd078471c4a3f588d452d1ae92b7489a5186957b (diff) | |
| download | seaweedfs-c7c20881f5543e9ab2f413d32ad2943c3d1c4828.tar.xz seaweedfs-c7c20881f5543e9ab2f413d32ad2943c3d1c4828.zip | |
remove "weed" from UsageLine, or weed will not show usage of weed update
Diffstat (limited to 'weed/command')
| -rw-r--r-- | weed/command/update.go | 2 |
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`, } |
