fix: hide duration flag its not useful for users (#4457)
This commit is contained in:
+8
-8
@@ -35,18 +35,18 @@ import (
|
||||
|
||||
var supportPerfFlags = append([]cli.Flag{
|
||||
cli.StringFlag{
|
||||
Name: "duration",
|
||||
Usage: "duration the entire perf tests are run",
|
||||
Value: "10s",
|
||||
Name: "size",
|
||||
Usage: "size of the object used for uploads/downloads",
|
||||
Value: "64MiB",
|
||||
},
|
||||
cli.BoolFlag{
|
||||
Name: "verbose, v",
|
||||
Usage: "display per-server stats",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "size",
|
||||
Usage: "size of the object used for uploads/downloads",
|
||||
Value: "64MiB",
|
||||
Name: "duration",
|
||||
Usage: "maximum duration each perf tests are run",
|
||||
Value: "10s",
|
||||
Hidden: true,
|
||||
},
|
||||
cli.IntFlag{
|
||||
@@ -97,12 +97,12 @@ USAGE:
|
||||
FLAGS:
|
||||
{{range .VisibleFlags}}{{.}}
|
||||
{{end}}
|
||||
|
||||
EXAMPLES:
|
||||
1. Upload object storage, network, and drive performance analysis for cluster with alias 'myminio' to SUBNET
|
||||
{{.Prompt}} {{.HelpName}} myminio
|
||||
|
||||
2. Run object storage, network, and drive performance tests on cluster with alias 'myminio', save and upload to SUBNET manually
|
||||
{{.Prompt}} {{.HelpName}} --airgap myminio
|
||||
{{.Prompt}} {{.HelpName}} myminio --airgap
|
||||
`,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user