Skip to content

Commit

Permalink
fix: bug where version number is not displayed
Browse files Browse the repository at this point in the history
  • Loading branch information
a-h committed Jun 25, 2021
1 parent 7774888 commit 429c690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/templ/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ func main() {
lspCmd(os.Args[2:])
return
case "version":
fmt.Println(version)
fmt.Println(getVersion())
return
case "--version":
fmt.Println(version)
fmt.Println(getVersion())
return
}
usage()
Expand Down

0 comments on commit 429c690

Please sign in to comment.