fix(修复错误): 修复参数解析

This commit is contained in:
xiaoqidun 2022-11-22 14:18:05 +08:00
parent c0a9c7e115
commit 2bcaa7d166

View File

@ -11,7 +11,7 @@ import (
func main() {
var d string
flag.StringVar(&d, "d", "Debian", "distribution")
flag.Parsed()
flag.Parse()
waitGroup := &sync.WaitGroup{}
distroList := strings.Split(d, ",")
for i := 0; i < len(distroList); i++ {