New version shortcut

Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
This commit is contained in:
Lukas Bachschwell 2021-01-09 17:49:51 +01:00
parent 87e3294f23
commit ab02d3a8ef
Signed by: lbsadmin
GPG Key ID: CCC6AA87CC8DF425

View File

@ -27,7 +27,7 @@ func main() {
} else {
fmt.Println("Success")
}
} else if os.Args[1] == "version" {
} else if os.Args[1] == "version" || os.Args[1] == "v" {
fmt.Print("Version ")
fmt.Println(gitTag)
} else {