diff --git a/scalib/main.go b/scalib/main.go index b7159ea..a06b89b 100644 --- a/scalib/main.go +++ b/scalib/main.go @@ -37,6 +37,8 @@ func main() { curPath := flag.String("f", "", "The local file path to upload") uploadPath := flag.String("u", "", "The remote upload path") flag.Parse() + // for debug + fmt.Printf("remote: %s, curPath: %s, uploadPath: %s\n", *remote, *curPath, *uploadPath) // 将服务器的信息拆分为ip和端口 harr := strings.Split(*remote, ":") dstip := harr[0]