Ver Fonte

version fixes

Tobias Begalke há 7 anos atrás
pai
commit
c24cfbb5aa
1 ficheiros alterados com 5 adições e 0 exclusões
  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()
 	}