diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-03-23 17:27:57 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-03-23 17:27:57 -0700 |
| commit | c42b95c596f762dcca2bc9c7e7a918ab8ca8b206 (patch) | |
| tree | 08d641920db50a47616724d54b630b6cde7212cd /weed/command/volume.go | |
| parent | 85cff10787271fd94fec868e692cac7315d9d8fb (diff) | |
| download | seaweedfs-c42b95c596f762dcca2bc9c7e7a918ab8ca8b206.tar.xz seaweedfs-c42b95c596f762dcca2bc9c7e7a918ab8ca8b206.zip | |
more help message
fix https://github.com/chrislusf/seaweedfs/issues/1937
Diffstat (limited to 'weed/command/volume.go')
| -rw-r--r-- | weed/command/volume.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/volume.go b/weed/command/volume.go index 0e8224dbc..7fd31665f 100644 --- a/weed/command/volume.go +++ b/weed/command/volume.go @@ -69,7 +69,7 @@ func init() { cmdVolume.Run = runVolume // break init cycle v.port = cmdVolume.Flag.Int("port", 8080, "http listen port") v.publicPort = cmdVolume.Flag.Int("port.public", 0, "port opened to public") - v.ip = cmdVolume.Flag.String("ip", util.DetectedHostAddress(), "ip or server name") + v.ip = cmdVolume.Flag.String("ip", util.DetectedHostAddress(), "ip or server name, also used as identifier") v.publicUrl = cmdVolume.Flag.String("publicUrl", "", "Publicly accessible address") v.bindIp = cmdVolume.Flag.String("ip.bind", "", "ip address to bind to") v.masters = cmdVolume.Flag.String("mserver", "localhost:9333", "comma-separated master servers") |
