fix: hide duration flag its not useful for users (#4457)

This commit is contained in:
Harshavardhana
2023-01-27 02:07:09 -08:00
committed by GitHub
parent f8d8667238
commit 58b7fc447d
+8 -8
View File
@@ -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
`,
}