From 9774ede3cf62a6a2481fb22c71785ca7d271a806 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 24 Apr 2019 00:25:20 -0700 Subject: [PATCH] adjust usage description --- weed/command/server.go | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/weed/command/server.go b/weed/command/server.go index 8f1c900f3..49d872bcb 100644 --- a/weed/command/server.go +++ b/weed/command/server.go @@ -39,19 +39,16 @@ func init() { var cmdServer = &Command{ UsageLine: "server -port=8080 -dir=/tmp -volume.max=5 -ip=server_name", - Short: "start a server, including volume server, and automatically elect a master server", + Short: "start a master server, a volume server, and optionally a filer and a S3 gateway", Long: `start both a volume server to provide storage spaces and a master server to provide volume=>location mapping service and sequence number of file ids This is provided as a convenient way to start both volume server and master server. - The servers are exactly the same as starting them separately. + The servers acts exactly the same as starting them separately. + So other volume servers can connect to this master server also. - So other volume servers can use this embedded master server also. - - Optionally, one filer server can be started. Logically, filer servers should not be in a cluster. - They run with meta data on disk, not shared. So each filer server is different. - - Also optionally, one S3 gateway can be started. + Optionally, a filer server can be started. + Also optionally, a S3 gateway can be started. `, }