chore: 当无tag时不输出无效日志
This commit is contained in:
parent
5cefface6b
commit
2145cebe1f
1 changed files with 4 additions and 1 deletions
3
main.go
3
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)
|
||||||
|
if len(features.TAGS) != 0 {
|
||||||
fmt.Printf("Use tags: %s\n", strings.Join(features.TAGS, ", "))
|
fmt.Printf("Use tags: %s\n", strings.Join(features.TAGS, ", "))
|
||||||
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue