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/master.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/master.go')
| -rw-r--r-- | weed/command/master.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/master.go b/weed/command/master.go index 40d9b9a16..82e33bae1 100644 --- a/weed/command/master.go +++ b/weed/command/master.go @@ -48,7 +48,7 @@ type MasterOptions struct { func init() { cmdMaster.Run = runMaster // break init cycle m.port = cmdMaster.Flag.Int("port", 9333, "http listen port") - m.ip = cmdMaster.Flag.String("ip", util.DetectedHostAddress(), "master <ip>|<server> address") + m.ip = cmdMaster.Flag.String("ip", util.DetectedHostAddress(), "master <ip>|<server> address, also used as identifier") m.ipBind = cmdMaster.Flag.String("ip.bind", "", "ip address to bind to") m.metaFolder = cmdMaster.Flag.String("mdir", os.TempDir(), "data directory to store meta data") m.peers = cmdMaster.Flag.String("peers", "", "all master nodes in comma separated ip:port list, example: 127.0.0.1:9093,127.0.0.1:9094,127.0.0.1:9095") |
