make "show info" and "show version" show the same version text
parent
43f948d691
commit
e44ceaaea3
|
@ -388,21 +388,24 @@ namespace OpenSim.Framework.Servers
|
|||
break;
|
||||
|
||||
case "version":
|
||||
Notice(
|
||||
String.Format(
|
||||
"Version: {0} (interface version {1})", m_version, VersionInfo.MajorInterfaceVersion));
|
||||
Notice(GetVersionText());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
protected void ShowInfo()
|
||||
{
|
||||
Notice("Version: " + m_version);
|
||||
Notice(GetVersionText());
|
||||
Notice("Startup directory: " + m_startupDirectory);
|
||||
if (null != m_consoleAppender)
|
||||
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>
|
||||
/// Console output is only possible if a console has been established.
|
||||
/// That is something that cannot be determined within this class. So
|
||||
|
|
Loading…
Reference in New Issue