From 8e959bd2455963dc84e97dcc51ac5ddca6d23854 Mon Sep 17 00:00:00 2001 From: Skyxim Date: Fri, 3 Jun 2022 21:00:45 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=BD=93=E6=97=A0tag=E6=97=B6?= =?UTF-8?q?=E4=B8=8D=E8=BE=93=E5=87=BA=E6=97=A0=E6=95=88=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 7b128e2d..e13b8dc8 100644 --- a/main.go +++ b/main.go @@ -54,7 +54,10 @@ func main() { if version { fmt.Printf("Clash Meta %s %s %s with %s %s\n", 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 }