Skip to content

Commit

Permalink
Merge pull request #4 from mcristina422/patch-1
Browse files Browse the repository at this point in the history
Fix typo in version
  • Loading branch information
Denis Krivak authored May 6, 2020
2 parents 8ff8ae1 + 3a7cac3 commit 2f5e50f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/godot/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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)
}
Expand Down

0 comments on commit 2f5e50f

Please sign in to comment.