* minor: add interface version to 'show version' command output

0.6.1-post-fixes
Justin Clarke Casey 2008-11-17 20:22:22 +00:00
parent 6052ed4707
commit 072624b19d
1 changed files with 4 additions and 1 deletions

View File

@ -342,6 +342,7 @@ namespace OpenSim.Framework.Servers
{ {
switch (showParams[0]) switch (showParams[0])
{ {
case "info": case "info":
Notice("Version: " + m_version); Notice("Version: " + m_version);
Notice("Startup directory: " + m_startupDirectory); Notice("Startup directory: " + m_startupDirectory);
@ -363,7 +364,9 @@ namespace OpenSim.Framework.Servers
break; break;
case "version": case "version":
Notice("Version: " + m_version); Notice(
String.Format(
"Version: {0} (interface version {1})", m_version, VersionInfo.MajorInterfaceVersion));
break; break;
} }
} }