mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 16:57:08 +00:00
chore: Cleanup code
This commit is contained in:
4
main.go
4
main.go
@@ -48,8 +48,8 @@ func main() {
|
||||
if version {
|
||||
fmt.Printf("Mihomo Meta %s %s %s with %s %s\n",
|
||||
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, ", "))
|
||||
if tags := features.Tags(); len(tags) != 0 {
|
||||
fmt.Printf("Use tags: %s\n", strings.Join(tags, ", "))
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user