Skip to content

Commit

Permalink
Fix typo in version
Browse files Browse the repository at this point in the history
  • Loading branch information
mcristina422 authored May 5, 2020
1 parent 8ff8ae1 commit 3a7cac3
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 3a7cac3

Please sign in to comment.