Explorar o código

version fixes

Tobias Begalke %!s(int64=8) %!d(string=hai) anos
pai
achega
c24cfbb5aa
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      main.go

+ 5 - 0
main.go

@@ -44,6 +44,11 @@ func init() {
 
 func main() {
 
+	if *doVersion {
+		version()
+		os.Exit(0)
+	}
+
 	if *doProfile {
 		defer profile.Start(profile.CPUProfile).Stop()
 	}