From 072624b19d67b8f24b7e27b3960c45d9c0d04074 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 17 Nov 2008 20:22:22 +0000 Subject: [PATCH] * minor: add interface version to 'show version' command output --- OpenSim/Framework/Servers/BaseOpenSimServer.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index aa93f6ecab..12813359ca 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs @@ -342,6 +342,7 @@ namespace OpenSim.Framework.Servers { switch (showParams[0]) { + case "info": Notice("Version: " + m_version); Notice("Startup directory: " + m_startupDirectory); @@ -363,7 +364,9 @@ namespace OpenSim.Framework.Servers break; case "version": - Notice("Version: " + m_version); + Notice( + String.Format( + "Version: {0} (interface version {1})", m_version, VersionInfo.MajorInterfaceVersion)); break; } }