make "show info" and "show version" show the same version text
parent
43f948d691
commit
e44ceaaea3
|
@ -388,20 +388,23 @@ namespace OpenSim.Framework.Servers
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "version":
|
case "version":
|
||||||
Notice(
|
Notice(GetVersionText());
|
||||||
String.Format(
|
|
||||||
"Version: {0} (interface version {1})", m_version, VersionInfo.MajorInterfaceVersion));
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void ShowInfo()
|
protected void ShowInfo()
|
||||||
{
|
{
|
||||||
Notice("Version: " + m_version);
|
Notice(GetVersionText());
|
||||||
Notice("Startup directory: " + m_startupDirectory);
|
Notice("Startup directory: " + m_startupDirectory);
|
||||||
if (null != m_consoleAppender)
|
if (null != m_consoleAppender)
|
||||||
Notice(String.Format("Console log level: {0}", m_consoleAppender.Threshold));
|
Notice(String.Format("Console log level: {0}", m_consoleAppender.Threshold));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected string GetVersionText()
|
||||||
|
{
|
||||||
|
return String.Format("Version: {0} (interface version {1})", m_version, VersionInfo.MajorInterfaceVersion);
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Console output is only possible if a console has been established.
|
/// Console output is only possible if a console has been established.
|
||||||
|
|
Loading…
Reference in New Issue