New version shortcut
Signed-off-by: Lukas Bachschwell <lukas@lbsfilm.at>
This commit is contained in:
parent
87e3294f23
commit
ab02d3a8ef
2
main.go
2
main.go
@ -27,7 +27,7 @@ func main() {
|
|||||||
} else {
|
} else {
|
||||||
fmt.Println("Success")
|
fmt.Println("Success")
|
||||||
}
|
}
|
||||||
} else if os.Args[1] == "version" {
|
} else if os.Args[1] == "version" || os.Args[1] == "v" {
|
||||||
fmt.Print("Version ")
|
fmt.Print("Version ")
|
||||||
fmt.Println(gitTag)
|
fmt.Println(gitTag)
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user