aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2025-11-10 17:31:11 -0800
committerchrislu <chris.lu@gmail.com>2025-11-10 17:31:11 -0800
commit6201cd099e55e4317f4a34291800a31c145bb803 (patch)
treeb8fd67a51535821c402ff96d1f07b17056cb48ff /weed/command
parent9744382a183f9b2d0ca0db44ffd30192631000aa (diff)
downloadseaweedfs-6201cd099e55e4317f4a34291800a31c145bb803.tar.xz
seaweedfs-6201cd099e55e4317f4a34291800a31c145bb803.zip
fix help messages
Diffstat (limited to 'weed/command')
-rw-r--r--weed/command/server.go2
-rw-r--r--weed/command/volume.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/weed/command/server.go b/weed/command/server.go
index 8c99d04fd..3cdde48c6 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -143,7 +143,7 @@ func init() {
serverOptions.v.concurrentDownloadLimitMB = cmdServer.Flag.Int("volume.concurrentDownloadLimitMB", 64, "limit total concurrent download size")
serverOptions.v.publicUrl = cmdServer.Flag.String("volume.publicUrl", "", "publicly accessible address")
serverOptions.v.preStopSeconds = cmdServer.Flag.Int("volume.preStopSeconds", 10, "number of seconds between stop send heartbeats and stop volume server")
- serverOptions.v.pprof = cmdServer.Flag.Bool("volume.pprof", false, "enable pprof http handlers. precludes --memprofile and --cpuprofile")
+ serverOptions.v.pprof = cmdServer.Flag.Bool("volume.pprof", false, "enable pprof http handlers. precludes -memprofile and -cpuprofile")
serverOptions.v.idxFolder = cmdServer.Flag.String("volume.dir.idx", "", "directory to store .idx files")
serverOptions.v.inflightUploadDataTimeout = cmdServer.Flag.Duration("volume.inflightUploadDataTimeout", 60*time.Second, "inflight upload data wait timeout of volume servers")
serverOptions.v.inflightDownloadDataTimeout = cmdServer.Flag.Duration("volume.inflightDownloadDataTimeout", 60*time.Second, "inflight download data wait timeout of volume servers")
diff --git a/weed/command/volume.go b/weed/command/volume.go
index cbd5bc676..e21437e9a 100644
--- a/weed/command/volume.go
+++ b/weed/command/volume.go
@@ -98,7 +98,7 @@ func init() {
v.ldbTimeout = cmdVolume.Flag.Int64("index.leveldbTimeout", 0, "alive time for leveldb (default to 0). If leveldb of volume is not accessed in ldbTimeout hours, it will be off loaded to reduce opened files and memory consumption.")
v.concurrentUploadLimitMB = cmdVolume.Flag.Int("concurrentUploadLimitMB", 256, "limit total concurrent upload size")
v.concurrentDownloadLimitMB = cmdVolume.Flag.Int("concurrentDownloadLimitMB", 256, "limit total concurrent download size")
- v.pprof = cmdVolume.Flag.Bool("pprof", false, "enable pprof http handlers. precludes --memprofile and --cpuprofile")
+ v.pprof = cmdVolume.Flag.Bool("pprof", false, "enable pprof http handlers. precludes -memprofile and -cpuprofile")
v.metricsHttpPort = cmdVolume.Flag.Int("metricsPort", 0, "Prometheus metrics listen port")
v.metricsHttpIp = cmdVolume.Flag.String("metricsIp", "", "metrics listen ip. If empty, default to same as -ip.bind option.")
v.idxFolder = cmdVolume.Flag.String("dir.idx", "", "directory to store .idx files")