1
0
mirror of https://github.com/fumiama/WireGold.git synced 2026-06-12 12:50:28 +08:00

feat: add version tag

This commit is contained in:
源文雨
2026-04-11 15:24:57 +08:00
parent a85b102426
commit 25c5a5d658
3 changed files with 58 additions and 28 deletions

View File

@@ -168,7 +168,14 @@ func main() {
}
func displayHelp(hint string) {
fmt.Println(hint)
if hint != "" {
fmt.Println(hint)
fmt.Println("")
}
fmt.Println("WireGold Version:", config.Version)
fmt.Println("Author: Fumiama Minamoto")
fmt.Println("Released with GPL-3.0 license")
fmt.Println("")
flag.Usage()
os.Exit(0)
}