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:
9
main.go
9
main.go
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user