Print version on startup #23

Merged
june merged 1 commit from :Bendodroid-printVersion into main 2024-01-16 02:32:00 +01:00

View file

@ -18,6 +18,7 @@ import (
var ( var (
flagHelp bool flagHelp bool
version string
) )
func init() { func init() {
@ -25,6 +26,8 @@ func init() {
} }
func main() { func main() {
log.Println("SpaceAPId version", version)
flag.Parse() flag.Parse()
if flagHelp { if flagHelp {