Commits

Miki Tebeka  committed 13b599e

Exit after version

  • Participants
  • Parent commits 9855dbd

Comments (0)

Files changed (1)

File nrsc/nrsc.go

 )
 
 const (
-	Version = "0.5.0"
+	Version = "0.5.1"
 )
 
 func die(format string, args ...interface{}) {
 
 	if *version {
 		fmt.Printf("nrsc version %s\n", Version)
+		os.Exit(0)
 	}
 
 	if flag.NArg() < 2 {