VOL-2126 - update the dockerfile to set the new version information based on voltha-lib-go

Change-Id: Iab01409e9e73f56fafddfe265998839bc89f95b4
diff --git a/cmd/simulated_olt/main.go b/cmd/simulated_olt/main.go
index d9948f9..018a7e5 100644
--- a/cmd/simulated_olt/main.go
+++ b/cmd/simulated_olt/main.go
@@ -328,6 +328,11 @@
 	cf := config.NewAdapterFlags()
 	cf.ParseCommandArguments()
 
+	if cf.PrintVersion {
+		fmt.Println(version.VersionInfo.String(""))
+		return
+	}
+
 	//// Setup logging
 
 	//Setup default logger - applies for packages that do not have specific logger set