fix:增加控制三网ping值测试单项的参数

This commit is contained in:
spiritlhl
2025-11-01 15:02:02 +00:00
parent 3989708c4e
commit 58e6941bfa
3 changed files with 5 additions and 0 deletions

View File

@@ -225,6 +225,8 @@ Usage: goecs [options]
Enable/Disable security test (default true)
-speed
Enable/Disable speed test (default true)
-ping
Enable/Disable ping test (default false)
-spnum int
Set the number of servers per operator for speed test (default 2)
-upload

View File

@@ -224,6 +224,8 @@ Usage: goecs [options]
Enable/Disable security test (default true)
-speed
Enable/Disable speed test (default true)
-ping
Enable/Disable ping test (default false)
-spnum int
Set the number of servers per operator for speed test (default 2)
-upload

View File

@@ -137,6 +137,7 @@ func parseFlags() {
goecsFlag.BoolVar(&backtraceStatus, "backtrace", true, "Enable/Disable backtrace test (in 'en' language or on windows it always false)")
goecsFlag.BoolVar(&nt3Status, "nt3", true, "Enable/Disable NT3 test (in 'en' language or on windows it always false)")
goecsFlag.BoolVar(&speedTestStatus, "speed", true, "Enable/Disable speed test")
goecsFlag.BoolVar(&pingTestStatus, "ping", false, "Enable/Disable ping test")
goecsFlag.StringVar(&cpuTestMethod, "cpum", "sysbench", "Set CPU test method (supported: sysbench, geekbench, winsat)")
goecsFlag.StringVar(&cpuTestThreadMode, "cput", "multi", "Set CPU test thread mode (supported: single, multi)")
goecsFlag.StringVar(&memoryTestMethod, "memorym", "stream", "Set memory test method (supported: stream, sysbench, dd, winsat, auto)")