mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2024-11-16 03:32:33 +08:00
chore: 当无tag时不输出无效日志
This commit is contained in:
parent
298ca42369
commit
8e959bd245
5
main.go
5
main.go
|
@ -54,7 +54,10 @@ func main() {
|
||||||
if version {
|
if version {
|
||||||
fmt.Printf("Clash Meta %s %s %s with %s %s\n",
|
fmt.Printf("Clash Meta %s %s %s with %s %s\n",
|
||||||
C.Version, runtime.GOOS, runtime.GOARCH, runtime.Version(), C.BuildTime)
|
C.Version, runtime.GOOS, runtime.GOARCH, runtime.Version(), C.BuildTime)
|
||||||
fmt.Printf("Use tags: %s\n", strings.Join(features.TAGS, ", "))
|
if len(features.TAGS) != 0 {
|
||||||
|
fmt.Printf("Use tags: %s\n", strings.Join(features.TAGS, ", "))
|
||||||
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user