From 3a7cac36cade1b6e47be08331319ac85db4fa284 Mon Sep 17 00:00:00 2001 From: Michael Cristina Date: Tue, 5 May 2020 18:42:56 -0500 Subject: [PATCH] Fix typo in version --- cmd/godot/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/godot/main.go b/cmd/godot/main.go index 923fd43..6c7d43f 100644 --- a/cmd/godot/main.go +++ b/cmd/godot/main.go @@ -12,7 +12,7 @@ import ( "github.com/tetafro/godot" ) -// version is the application vesion. Set to latest git tag on `make build`. +// version is the application version. Set to latest git tag on `make build`. var version = "dev" const usage = `Usage: @@ -30,7 +30,7 @@ func main() { fmt.Println(usage) os.Exit(0) } - if os.Args[1] == "-v" || os.Args[1] == "--vesion" { + if os.Args[1] == "-v" || os.Args[1] == "--version" { fmt.Println(version) os.Exit(0) }