From be20c0b59193b2cb74af38122ec64ce70044a9ab Mon Sep 17 00:00:00 2001 From: Kaloyan Tanev Date: Fri, 26 Jul 2024 15:54:39 +0300 Subject: [PATCH] Add more description to flags --- cmd/testperformance.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/testperformance.go b/cmd/testperformance.go index b2ce9ca42..5ff08cc8f 100644 --- a/cmd/testperformance.go +++ b/cmd/testperformance.go @@ -73,8 +73,8 @@ func newTestPerformanceCmd(runFunc func(context.Context, io.Writer, testPerforma func bindTestPerformanceFlags(cmd *cobra.Command, config *testPerformanceConfig) { cmd.Flags().IntVar(&config.DiskWriteMB, "disk-write-mb", 4096, "Size of file to be created that is used for write speed test") - cmd.Flags().StringSliceVar(&config.InternetTestServersOnly, "internet-test-servers-only", []string{}, "List of server names to be included for the tests, the best performing one is chosen.") - cmd.Flags().StringSliceVar(&config.InternetTestServersExclude, "internet-test-servers-exclude", []string{}, "List of server names to be excluded from the tests.") + cmd.Flags().StringSliceVar(&config.InternetTestServersOnly, "internet-test-servers-only", []string{}, "List of specific server names to be included for the internet tests, the best performing one is chosen. If not provided, closest and best performing servers are chosen automatically.") + cmd.Flags().StringSliceVar(&config.InternetTestServersExclude, "internet-test-servers-exclude", []string{}, "List of server names to be excluded from the tests. To be specified only if you experience issues with a server that is wrongly considered best performing.") } func supportedPerformanceTestCases() map[testCaseName]func(context.Context, *testPerformanceConfig) testResult {