diff --git a/cmd/neofs-ir/main.go b/cmd/neofs-ir/main.go index aad989199..07134bce2 100644 --- a/cmd/neofs-ir/main.go +++ b/cmd/neofs-ir/main.go @@ -42,8 +42,13 @@ func main() { flag.Parse() if *versionFlag { - fmt.Println("neofs-ir", misc.Version) - fmt.Println("debug:", misc.Debug) + fmt.Printf( + "Version: %s \nBuild: %s \nDebug: %s\n", + misc.Version, + misc.Build, + misc.Debug, + ) + os.Exit(SuccessReturnCode) }