diff --git a/main.go b/main.go index 8e5c8a5b..3f02bbb4 100644 --- a/main.go +++ b/main.go @@ -25,7 +25,7 @@ func main() { command := flag.Arg(0) if *version { - fmt.Printf("%.2f", Version) + fmt.Println(Version) os.Exit(0) } diff --git a/version.go b/version.go index 6f62588d..1d45bd5b 100644 --- a/version.go +++ b/version.go @@ -1,3 +1,3 @@ package main -const Version float64 = 1.1 \ No newline at end of file +const Version string = "1.2.0"