Skip to content

Commit

Permalink
Fixed banner version string (closes #5)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dids committed Aug 13, 2018
1 parent fbd52ee commit e6aaaad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
)

// Version is set dynamically when building
var Version = "x.x.x"
var Version = "0.0.1"

func main() {
// TODO: Updates disabled for now
Expand All @@ -20,6 +20,7 @@ func main() {
fmt.Println()
}*/

cmd.Version = Version
cmd.RootCmd.Version = Version
cmd.Execute()
}

0 comments on commit e6aaaad

Please sign in to comment.