refactor: 默认不开启进度条

This commit is contained in:
ZacharyZcR
2025-01-15 15:10:01 +08:00
parent 97e9ac7161
commit f20aadb745
4 changed files with 45 additions and 25 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ func Flag(Info *HostInfo) {
flag.BoolVar(&NoColor, "nocolor", false, "禁用彩色输出显示")
flag.BoolVar(&JsonFormat, "json", false, "以JSON格式输出结果")
flag.StringVar(&LogLevel, "log", LogLevelInfo, "日志输出级别(ALL/SUCCESS/ERROR/INFO/DEBUG)")
flag.BoolVar(&NoProgress, "nopg", false, "禁用进度条显示")
flag.BoolVar(&ShowProgress, "pg", false, "开启进度条显示")
flag.Parse()
}