From ab02d3a8ef80d82bb196e18fd1c1bf68c60e76ba Mon Sep 17 00:00:00 2001 From: Lukas Bachschwell Date: Sat, 9 Jan 2021 17:49:51 +0100 Subject: [PATCH] New version shortcut Signed-off-by: Lukas Bachschwell --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 2704fc9..1b2cddf 100644 --- a/main.go +++ b/main.go @@ -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 {