refactor: 修改日志显示等级

This commit is contained in:
ZacharyZcR
2025-01-15 15:14:15 +08:00
parent f20aadb745
commit cdbc0e02f3
2 changed files with 25 additions and 13 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ func Flag(Info *HostInfo) {
flag.BoolVar(&Silent, "silent", false, "启用静默扫描模式(减少屏幕输出)")
flag.BoolVar(&NoColor, "nocolor", false, "禁用彩色输出显示")
flag.BoolVar(&JsonFormat, "json", false, "以JSON格式输出结果")
flag.StringVar(&LogLevel, "log", LogLevelInfo, "日志输出级别(ALL/SUCCESS/ERROR/INFO/DEBUG)")
flag.StringVar(&LogLevel, "log", LogLevelSuccess, "日志输出级别(ALL/SUCCESS/ERROR/INFO/DEBUG)")
flag.BoolVar(&ShowProgress, "pg", false, "开启进度条显示")
flag.Parse()